repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-05-19 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tests
/
gtest-anon-37.cs
blob
d0e1d8339db2602e9a9107e21371fa97d5463772
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
4
public class
Wrap
<
U
>
5
{
6
public
List
<
U
>
t
;
7
}
8
9
public class
Test
10
{
11
public int
Run
<
T
> (
Wrap
<
T
>
t
)
12
{
13
Action f
= () =>
{ t.t = new List<T> (); }
;
14
f
();
15
return
t
.
t
!=
null
?
0
:
1
;
16
}
17
18
public static int
Main
()
19
{
20
return new
Test
().
Run
(
new
Wrap
<
byte
> ());
21
}
22
}