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
add failing test for bnc550722
[mcs.git]
/
tests
/
test-anon-38.cs
blob
96aff697d74b2c8c4496cc6a8f25f07ce3dfb6d7
1
using
System
;
2
3
delegate void
Simple
();
4
5
delegate
Simple
Foo
();
6
7
class
X
8
{
9
public void
Hello
(
long
i
,
long
j
)
10
{ }
11
12
public void
Test
(
int
i
)
13
{
14
long
j
=
1
<<
i
;
15
Hello
(
i
,
j
);
16
Foo foo
=
delegate
{
17
long
k
=
5
*
j
;
18
Hello
(
j
,
k
);
19
return delegate
{
20
Hello
(
j
,
k
);
21
};
22
};
23
Simple simple
=
foo
();
24
simple
();
25
}
26
27
static void
Main
()
28
{
29
X x
=
new
X
();
30
x
.
Test
(
3
);
31
}
32
}