summaryrefslogtreecommitdiff
path: root/tests/semantic/methodcall-invocation-invalid.test
blob: a83ed4df909eeddf9c66f9c110d74a318741abd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Invalid Code

interface Bar {
}

class Foo {
	public Bar bar { get; set; }
}

void main() {
	var foo = new Foo ();
	print ("%d", foo.bar ());
}