-// 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)
{
}
}