repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-04-13 Sebastien Pouliot <sebastien@ximian.com>
[mono-project.git]
/
mcs
/
tests
/
gtest-171.cs
blob
dcb8697f53be202abd323d28c0617efd542e2c6f
1
class
list
<
a
> {
2
}
3
4
class
Nil
<
a
> :
list
<
a
> {
5
public static
Nil
<
a
>
single
;
6
static
Nil
() {
7
single
=
new
Nil
<
a
> ();
8
}
9
}
10
11
12
public class
Test
{
13
public static void
Main
() {
14
list
<
int
>[,]
x
=
new
list
<
int
>[
10
,
10
];
15
x
[
0
,
0
] =
Nil
<
int
>.
single
;
16
17
}
18
}