2004-05-14 Marek Safar <marek.safar@seznam.cz>
[mono.git] / mcs / errors / error-3.cs
index eb878d683ece69016665f4736864547f7bfcb714..82fe21b62bfd922cb4619e9cbd11767bb97da11b 100644 (file)
@@ -15,6 +15,22 @@ struct A
        }
 }
 
+struct B
+{
+       public int a;
+
+       public B (int foo)
+       {
+               // CS0188
+               Test ();
+       }
+
+       public void Test ()
+       {
+               Console.WriteLine (a);
+       }
+}
+
 class X
 {
        // CS0177