diff options
author | Martin Baulig <martin@novell.com> | 2005-06-20 20:45:16 +0400 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2005-06-20 20:45:16 +0400 |
commit | f7c6015c874f47105b04af636c376f145ecfbecf (patch) | |
tree | 3108a069da19b10338915f3048e4b15188a3d723 /mcs/tests/gtest-171.cs | |
parent | b78abed253b0eae1f6f73d47753da3dc57264f96 (diff) |
New test.
svn path=/trunk/mcs/; revision=46247
Diffstat (limited to 'mcs/tests/gtest-171.cs')
-rw-r--r-- | mcs/tests/gtest-171.cs | 18 |
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; + + } +} |