2009-07-11 Michael Barker <mike@middlesoft.co.uk>
[mono.git] / mcs / errors / cs0121-7.cs
1 // CS0121: The call is ambiguous between the following methods or properties: `D.Test(string)' and `D.Test(int, string)'
2 // Line: 16
3 // Compiler options: -langversion:future
4
5 public class D
6 {
7         static void Test (string a = "s")
8         {
9         }
10
11         static void Test (int i = 9, string a = "b")
12         {
13         }
14
15         public static void Main ()
16         {
17                 Test ();
18         }
19 }