Add error test
authorMiguel de Icaza <miguel@gnome.org>
Wed, 19 Jan 2005 03:35:17 +0000 (03:35 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Wed, 19 Jan 2005 03:35:17 +0000 (03:35 -0000)
svn path=/trunk/mcs/; revision=39129

mcs/tests/test-334.cs
mcs/tests/test-336.cs [new file with mode: 0644]

index 00d94e469ff8da45ee003d1ad7d2ec226d3b33ef..eb6c13d2e519530b80c1ebb07ab4e5c4381e102a 100644 (file)
@@ -1,18 +1,19 @@
 namespace Test {
+       using Directory = Foo.Store.Directory;
        namespace Foo {
-               namespace Store {
-                       public class Directory { }
+               namespace Index {
+                       public class CompoundFileReader : Directory {
+                               static void Main () { }
+                       }
                }
        }
 }
 
 namespace Test {
-       using Directory = Foo.Store.Directory;
        namespace Foo {
-               namespace Index {
-                       public class CompoundFileReader : Directory {
-                               static void Main () { }
-                       }
+               namespace Store {
+                       public class Directory { }
                }
        }
 }
+
diff --git a/mcs/tests/test-336.cs b/mcs/tests/test-336.cs
new file mode 100644 (file)
index 0000000..60232fc
--- /dev/null
@@ -0,0 +1,17 @@
+using System;
+using System.Threading;
+
+class A {
+       static void X () {
+               Console.WriteLine ();
+       }
+       static void Main () {
+               Thread t = new Thread (X);
+       }
+}
+
+
+
+
+
+