summaryrefslogtreecommitdiff
path: root/tests/semantic/class-missing-implement-interfaces-methods3.test
blob: 11e84c6dabdbca132aa38d41df33cf1f49f7c7fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Invalid Code

class Base : Object {
	public void foo () {
	}
}

interface IFoo : Base {
	public abstract string foo ();
}

interface IBar : Base {
	public abstract int foo ();
}

class Manam : Base, IFoo, IBar {
	public int IBar.foo () {
		return 23;
	}
}

void main () {
}