projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* DataGridTextBoxColumn.cs: only hide the textbox if it's still
[mono.git]
/
mcs
/
tests
/
gtest-012.cs
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
static void Main ()
27
{ }
28
}