Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

19 lines
271 B
C#

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;
}
}