summaryrefslogtreecommitdiff
path: root/tests/objects/bug779219.vala
blob: c0c4baab0b7346f2d3208415617172dd883f8ae3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
interface IFoo : GLib.Object {
	public abstract int foo { get; }
}

abstract class Foo : GLib.Object, IFoo {
	public abstract int foo { get; }
}

class Bar : Foo {
	public override int foo { get { return 42; } }
	public Bar () {
	}
}

void main () {
	var bar = new Bar ();
	assert (bar.foo == 42);
}