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
Warnings cleanup
[mcs.git]
/
tests
/
gtest-067.cs
blob
43df27f9fa217447a60e2b52486261aa7a962d48
1
class
Test
2
{
3
public delegate int
Foo
<
T
> (
T t
,
T u
);
4
5
public void
Hello
<
U
> (
Foo
<
U
>
foo
,
U u
)
6
{ }
7
}
8
9
class
X
10
{
11
static int
Add
(
int
a
,
int
b
)
12
{
13
return
a
+
b
;
14
}
15
16
static void
Main
()
17
{
18
Test test
=
new
Test
();
19
test
.
Hello
<
int
> (
new
Test
.
Foo
<
int
> (
Add
),
5
);
20
}
21
}