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
[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git]
/
mcs
/
tests
/
gtest-012.cs
blob
a7cc66f1ee2d7854953c68f30df2efacedeea940
1
// A generic type definition may have another generic type
2
// definition as its parent.
3
4
class
Stack
<
S
>
5
{
6
public void
Hello
(
S s
)
7
{ }
8
}
9
10
class
Test
<
T
> :
Stack
<
T
>
11
{
12
public void
Foo
(
T t
)
13
{ }
14
}
15
16
class
X
17
{
18
Test
<
int
>
test
;
19
20
void
Test
()
21
{
22
test
.
Foo
(
4
);
23
test
.
Hello
(
3
);
24
}
25
26
public static void
Main
()
27
{ }
28
}