Bump API snapshot submodule
[mono.git] / mcs / errors / cs0815-7.cs
index af3d10f8c6c370899609d93bd528f2d509f7d065..38c3ff3a3f095f816a63a71d9add07580cc96f85 100644 (file)
@@ -1,16 +1,10 @@
-// CS0815: An implicitly typed local variable declaration cannot be initialized with `void'
+// CS0815: An implicitly typed local variable declaration cannot be initialized with `(int, method group)'
 // Line: 8
-// Compiler options: -langversion:experimental
 
-class X
+class XX
 {
        public static void Main ()
        {
-               Foo (out var x = Main ());
-       }
-
-       static void Foo (out int i)
-       {
-               i = 0;
+               var m = (1, Main);
        }
 }
\ No newline at end of file