repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
[mono-project.git]
/
mcs
/
tests
/
test-730.cs
blob
2cce773990735d856dca54756fc2ac69f686914c
1
class
Demo
2
{
3
public void
Test
(
object
arg
)
4
{
5
}
6
7
static int
Test
(
int
i
)
8
{
9
return
i
;
10
}
11
12
delegate int
D
(
int
t
);
13
14
int
GetPhones
()
15
{
16
D d
=
Test
;
17
return
d
(
55
);
18
}
19
20
static int
Main
()
21
{
22
int
r
=
new
Demo
().
GetPhones
();
23
if
(
r
!=
55
)
24
return
1
;
25
26
return
0
;
27
}
28
}