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
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
gtest-optional-06.cs
blob
d30af8dd03cf125b6e08e64d3e5b681c87ee4088
1
using
System
;
2
3
delegate int
D
(
int
i
=
1
);
4
5
class
C
6
{
7
static int
Foo
(
int
i
=
9
)
8
{
9
return
i
;
10
}
11
12
public static int
Main
()
13
{
14
D d
=
new
D
(
Foo
);
15
var
res
=
d
();
16
if
(
res
!=
1
)
17
return
1
;
18
19
Console
.
WriteLine
(
res
);
20
return
0
;
21
}
22
}