Merge branch 'master' of github.com:mono/mono
[mono.git] / mcs / tests / gtest-optional-12.cs
1 using System;
2
3 public class C
4 {
5         static int M (string s = "s", int k = 0, params int[] args)
6         {
7                 return args[1];
8         }
9
10         public static int Main ()
11         {
12                 if (M (args: new int[] { 10, 20, 30 }) != 20)
13                         return 1;
14
15                 return 0;
16         }
17 }