summaryrefslogtreecommitdiff
path: root/tests/objects/property-construct-only-write.test
blob: 1b7636c77bcaae7535339f6c3ef8ac270d9d7342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Invalid Code

class Foo : GLib.Object {
	public string test { construct; }
	public Foo () {
		test = "";
	}
}

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