projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Add new test
[mono.git]
/
mcs
/
tests
/
dtest-057.cs
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
}