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
bring Mono Security to monotouch
[mcs.git]
/
tests
/
test-anon-88.cs
blob
e13d8acee54e073883406e89d12f82f1e2ebb968
1
using
System
;
2
3
class
C
4
{
5
public delegate void
D
();
6
7
public static int
Main
()
8
{
9
new
C
().
Test
();
10
return
0
;
11
}
12
13
void
Test
()
14
{
15
int
l1
=
0
;
16
17
if
(
l1
==
0
) {
18
int
l2
=
1
;
19
if
(
l2
==
1
) {
20
D dd
=
delegate
{
21
int
l3
=
2
;
22
D d2
=
delegate
{ int x = l1; int z = l3; }
;
23
D d22
=
delegate
{ int x = 1; }
;
24
};
25
}
26
27
D d3
=
delegate
{ int y = l2; }
;
28
}
29
30
D d1
=
delegate
{ int x = l1; }
;
31
}
32
}