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
[mono/tests] Fix out of tree build.
[mono-project.git]
/
mcs
/
tests
/
dtest-057.cs
blob
30a09f53eb31e7b25516d412bec73e1da70373ed
1
using
System
;
2
3
class
Program
4
{
5
public static int
Test
(
Func
<
object
>
func
)
6
{
7
func
();
8
return
1
;
9
}
10
11
public static int
Test
(
Func
<
string
>
func
)
12
{
13
func
();
14
return
2
;
15
}
16
17
public static int
Main
()
18
{
19
if
(
Test
(() => (
dynamic
)
1
) !=
1
)
20
return
1
;
21
22
return
0
;
23
}
24
}