summaryrefslogtreecommitdiffstats
path: root/tests/bugs/interfaceNames/sub/ObserverProtocol.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/interfaceNames/sub/ObserverProtocol.aj')
-rw-r--r--tests/bugs/interfaceNames/sub/ObserverProtocol.aj6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/bugs/interfaceNames/sub/ObserverProtocol.aj b/tests/bugs/interfaceNames/sub/ObserverProtocol.aj
new file mode 100644
index 000000000..8d558ad1f
--- /dev/null
+++ b/tests/bugs/interfaceNames/sub/ObserverProtocol.aj
@@ -0,0 +1,6 @@
+package sub;
+
+public abstract aspect ObserverProtocol {
+ protected interface Observer { }
+ public void add(Observer o) {}
+}