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
2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
tests
/
test-anon-48.cs
blob
77acd9bd31e23c41a3d76477e72bfae499877dcf
1
using
System
;
2
3
public delegate void
Foo
();
4
5
public class
World
6
{
7
public void
Hello
(
long
a
)
8
{ }
9
10
public void
Test
(
int
t
)
11
{
12
for
(
long
l
=
0
;
l
<
t
;
l
++) {
13
for
(
long
m
=
0
;
m
<
l
;
m
++) {
14
for
(
int
u
=
0
;
u
<
t
;
u
++) {
15
Foo foo
=
delegate
{
16
Hello
(
u
);
17
Hello
(
l
);
18
Hello
(
m
);
19
};
20
foo
();
21
}
22
}
23
}
24
}
25
}
26
27
class
X
28
{
29
static void
Main
()
30
{
31
World world
=
new
World
();
32
world
.
Test
(
5
);
33
}
34
}