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
* MonthCalendar.cs:
[mono-project.git]
/
mcs
/
tests
/
a-simple.cs
blob
f63b9231f64c9010dd3ed2b4c3c5717f08e74fea
1
//
2
// Parameter and return value compilation tests for anonymous methods
3
//
4
delegate void
D
(
int
x
);
5
delegate void
E
(
out int
x
);
6
7
class
X
{
8
static int
Main
()
9
{
10
// This should create an AnonymousMethod with the implicit argument
11
D d1
=
delegate
{};
12
D d2
=
delegate
(
int
a
) {};
13
14
return
0
;
15
}
16
}