summaryrefslogtreecommitdiff
path: root/tests/semantic/class-missing-implement-interfaces-methods.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/semantic/class-missing-implement-interfaces-methods.test')
-rw-r--r--tests/semantic/class-missing-implement-interfaces-methods.test18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/semantic/class-missing-implement-interfaces-methods.test b/tests/semantic/class-missing-implement-interfaces-methods.test
new file mode 100644
index 000000000..d6e12b21f
--- /dev/null
+++ b/tests/semantic/class-missing-implement-interfaces-methods.test
@@ -0,0 +1,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() {
+}