repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git]
/
tests
/
test-named-03.cs
blob
441b76b487d2afc7269836729a04e97057e949c5
1
// Compiler options: -langversion:future
2
3
using
System
;
4
5
class
C
6
{
7
delegate int
IntDelegate
(
int
a
);
8
9
static int
TestInt
(
int
u
)
10
{
11
return
29
;
12
}
13
14
public static int
Main
()
15
{
16
var
del
=
new
IntDelegate
(
TestInt
);
17
del
(
a
:
7
);
18
19
return
0
;
20
}
21
}