summaryrefslogtreecommitdiff
path: root/tests/objects/bug615830-2.test
blob: 88b2493b2a65fb35350fcead1eb856cfade68a14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Invalid Code

struct Foo<T> {
	int x;
}

struct Bar<T> : Foo<T> {
}

void main (string[] args) {
	Foo<int> f = Bar<string> ();
}