New test.
authorMarek Safar <marek.safar@gmail.com>
Tue, 3 Mar 2009 15:45:01 +0000 (15:45 -0000)
committerMarek Safar <marek.safar@gmail.com>
Tue, 3 Mar 2009 15:45:01 +0000 (15:45 -0000)
svn path=/trunk/mcs/; revision=128449

mcs/tests/test-710.cs [new file with mode: 0644]
mcs/tests/ver-il-gmcs.xml

diff --git a/mcs/tests/test-710.cs b/mcs/tests/test-710.cs
new file mode 100644 (file)
index 0000000..0fe59f3
--- /dev/null
@@ -0,0 +1,16 @@
+// Compiler options: -warnaserror -warnaserror-:612,219
+
+using System;
+
+[Obsolete]
+class Z
+{
+}
+
+class C
+{
+       public static void Main ()
+       {
+               Z z = new Z ();
+       }
+}
index 8ed2af5c71855bb07c6da96b4998e770244f42ac..248c65c92db00685c7d62646cb8aa084e52af92c 100644 (file)
       </method>
     </type>
   </test>
+  <test name="test-710.cs">
+    <type name="Z">
+      <method name="Void .ctor()">
+        <size>7</size>
+      </method>
+    </type>
+    <type name="C">
+      <method name="Void .ctor()">
+        <size>7</size>
+      </method>
+      <method name="Void Main()">
+        <size>7</size>
+      </method>
+    </type>
+  </test>
   <test name="test-72.cs">
     <type name="outer">
       <method name="Void .ctor()">