New tests.
authorMartin Baulig <martin@novell.com>
Tue, 21 Jun 2005 09:46:14 +0000 (09:46 -0000)
committerMartin Baulig <martin@novell.com>
Tue, 21 Jun 2005 09:46:14 +0000 (09:46 -0000)
svn path=/trunk/mcs/; revision=46287

mcs/tests/gtest-172-lib.cs [new file with mode: 0755]
mcs/tests/gtest-172.cs [new file with mode: 0755]

diff --git a/mcs/tests/gtest-172-lib.cs b/mcs/tests/gtest-172-lib.cs
new file mode 100755 (executable)
index 0000000..5cda449
--- /dev/null
@@ -0,0 +1,6 @@
+// Compiler options: -t:library
+public class A <T> {
+  public class Nil : A <T> {
+     public static Nil _N_constant_object = new Nil ();
+  }
+}
diff --git a/mcs/tests/gtest-172.cs b/mcs/tests/gtest-172.cs
new file mode 100755 (executable)
index 0000000..9d11952
--- /dev/null
@@ -0,0 +1,7 @@
+// Compiler options: /r:gtest-172-lib.dll
+class M {
+  static void Main () {
+    A <int> x = A<int>.Nil._N_constant_object; 
+  }
+}
+