aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/DeclareInterfaceImplementsClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/DeclareInterfaceImplementsClass.java')
-rw-r--r--tests/new/DeclareInterfaceImplementsClass.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/new/DeclareInterfaceImplementsClass.java b/tests/new/DeclareInterfaceImplementsClass.java
new file mode 100644
index 000000000..9e4841624
--- /dev/null
+++ b/tests/new/DeclareInterfaceImplementsClass.java
@@ -0,0 +1,11 @@
+
+
+/** @testcase PR853 declare interface implements class CE */
+
+interface I {}
+
+class B {}
+
+aspect A {
+ declare parents: I implements B; // CE 10 - XXX error says "extends" - weak
+} \ No newline at end of file