Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git] / mcs / errors / cs0143.cs
index 2a448522c423803f25486b24fdbac0b2178abcb7..5886f3b7bda3bf99527c6790aa0f18ca543c0312 100644 (file)
@@ -1,16 +1,11 @@
-// cs0143: Can't find the constructor for a determinated class.
-// Line: 11 
+// CS0143: The class `A' has no constructors defined
+// Line: 9
+// Compiler options: -r:CS0143-lib.dll
 
-namespace cs0143Test
+public class Test
 {
-       public class A
+       public static void Main ()
        {
-               static void Main ()
-               {
-                       string b="text";
-                       int c=2;
-                       
-                       A  a = new A (b, c);
-               }
+               new A ();
        }
 }