summaryrefslogtreecommitdiff
path: root/tests/semantic/chainup-gobject-unsupported-type-property.test
blob: 49ee6f7ddea8be7f92658de8eba23463a504df55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Invalid Code

delegate void Func ();

class Foo : Object {
	public Func f { get; construct; }
}

class Bar : Foo {
	public Bar () {
		Object (f: func);
	}

	void func () {
	}
}

void main () {
}