summaryrefslogtreecommitdiff
path: root/tests/objects/bug593137.vala
blob: 6162e023ed1d317446fd249171ea45492ebf3970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class Bar : Object {
	public Bar (Type type) {
		assert (type == typeof (string));
	}
}

class Foo<G> : Bar {
	public Foo () {
		base (typeof (G));
	}
}

void main () {
	var foo = new Foo<string> ();
}