Finally remove RootContext.ToplevelTypes hacking from GlobalAttribute (what a joy!)
[mono.git] / mcs / errors / cs1763-2.cs
index b4c0ef5fafa46a0ea3f7610a46263c3106e1d274..72f5370949af197f112bc9dd97baeb4e1212ceeb 100644 (file)
@@ -1,14 +1,9 @@
-// CS1763: Optional parameter `c' of type `C' can only be initialized with `null'
-// Line: 10
-// Compiler options: -langversion:future
-
-struct S
-{
-}
+// CS1763: Optional parameter `o' of type `object' can only be initialized with `null'
+// Line: 6
 
 class C
 {
-       public static void Test (C c = new S ())
+       public static void Test (object o = 9, params object[] args)
        {
        }
 }