inheritance test
[swftools.git] / lib / as3 / err / interface5.as
diff --git a/lib/as3/err/interface5.as b/lib/as3/err/interface5.as
new file mode 100644 (file)
index 0000000..1ad6d79
--- /dev/null
@@ -0,0 +1,14 @@
+package {
+    interface A {
+        function f()
+    }
+    interface B {
+        function f(x)
+    }
+
+    public class C implements A,B
+    {
+        // ambigious definition (or: B.f not implemented)
+        public function f() {}
+    }
+}