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
remove NotWorking
[mcs.git]
/
tests
/
test-anon-47.cs
blob
31f6100310872d78a04e5caf7bb4e2e7652e5e44
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
Hello
(
t
);
13
long
j
=
1
<<
t
;
14
for
(
int
u
=
0
;
u
<
j
;
u
++) {
15
long
test
=
t
;
16
17
Foo foo
=
delegate
{
18
long
v
=
u
*
t
*
test
;
19
Hello
(
v
);
20
};
21
}
22
}
23
}
24
25
class
X
26
{
27
static void
Main
()
28
{
29
World world
=
new
World
();
30
world
.
Test
(
5
);
31
}
32
}