Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git] / mcs / errors / cs0143.cs
index f3f2b5061bd40f3b9c32b5f1db909e6829cfa026..5886f3b7bda3bf99527c6790aa0f18ca543c0312 100644 (file)
@@ -1,11 +1,11 @@
-// cs0143.cs: The type `int' has no constructors defined
-// Line: 8
+// CS0143: The class `A' has no constructors defined
+// Line: 9
+// Compiler options: -r:CS0143-lib.dll
 
-class C
+public class Test
 {
-       static void Main ()
+       public static void Main ()
        {
-               int i = new int(1);
+               new A ();
        }
 }
-