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

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

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

class Manam : Object, IFoo, IBar {
	public string foo () {
		return "foo";
	}
}

void main() {
}