Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@novell.com>2005-06-20 20:45:16 +0400
committerMartin Baulig <martin@novell.com>2005-06-20 20:45:16 +0400
commitf7c6015c874f47105b04af636c376f145ecfbecf (patch)
tree3108a069da19b10338915f3048e4b15188a3d723 /mcs/tests/gtest-171.cs
parentb78abed253b0eae1f6f73d47753da3dc57264f96 (diff)
New test.
svn path=/trunk/mcs/; revision=46247
Diffstat (limited to 'mcs/tests/gtest-171.cs')
-rw-r--r--mcs/tests/gtest-171.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/tests/gtest-171.cs b/mcs/tests/gtest-171.cs
new file mode 100644
index 00000000000..dcb8697f53b
--- /dev/null
+++ b/mcs/tests/gtest-171.cs
@@ -0,0 +1,18 @@
+class list <a> {
+}
+
+class Nil <a> : list <a> {
+ public static Nil <a> single;
+ static Nil () {
+ single = new Nil <a> ();
+ }
+}
+
+
+public class Test {
+ public static void Main() {
+ list <int>[,] x = new list<int>[10,10];
+ x[0,0] = Nil <int>.single;
+
+ }
+}