projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5675 from mono/glib-debug-symbols
[mono.git]
/
mcs
/
tests
/
test-anon-156.cs
1
class G<T>
2
{
3
public T def () { return default (T); }
4
}
5
6
class C
7
{
8
delegate void DF ();
9
static DF df;
10
static void foo (object o) { }
11
static void cf<T> ()
12
{
13
G<T> g = new G<T> ();
14
df = delegate { foo (g.def ()); };
15
}
16
17
public static int Main ()
18
{
19
cf<int> ();
20
df ();
21
return 0;
22
}
23
}