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
2009-03-11 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
tests
/
test-anon-41.cs
blob
d64280cf8ef632045f3fde226fc70fa1037a79f6
1
using
System
;
2
3
delegate void
Simple
();
4
5
delegate
Simple
Foo
();
6
7
class
X
8
{
9
public void
Hello
(
long
k
)
10
{ }
11
12
public void
Test
(
int
i
)
13
{
14
long
j
=
1
<<
i
;
15
Hello
(
j
);
16
Foo foo
=
delegate
{
17
long
k
=
j
;
18
Hello
(
j
);
19
return delegate
{
20
long
l
=
k
;
21
Hello
(
j
);
22
};
23
};
24
Simple simple
=
foo
();
25
simple
();
26
}
27
28
static void
Main
()
29
{
30
X x
=
new
X
();
31
x
.
Test
(
3
);
32
}
33
}