aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs163
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs163')
-rw-r--r--tests/bugs163/pr171042/Executable.java6
-rw-r--r--tests/bugs163/pr171042/RunnableAspect.java7
-rw-r--r--tests/bugs163/pr171042/TestClass.java13
3 files changed, 26 insertions, 0 deletions
diff --git a/tests/bugs163/pr171042/Executable.java b/tests/bugs163/pr171042/Executable.java
new file mode 100644
index 000000000..79fa99147
--- /dev/null
+++ b/tests/bugs163/pr171042/Executable.java
@@ -0,0 +1,6 @@
+package test;
+
+public interface Executable {
+
+ void execute();
+}
diff --git a/tests/bugs163/pr171042/RunnableAspect.java b/tests/bugs163/pr171042/RunnableAspect.java
new file mode 100644
index 000000000..ad172b08c
--- /dev/null
+++ b/tests/bugs163/pr171042/RunnableAspect.java
@@ -0,0 +1,7 @@
+package test;
+
+public aspect RunnableAspect {
+ public void Executable.run() { execute(); }
+ declare parents: Executable implements Runnable;
+}
+
diff --git a/tests/bugs163/pr171042/TestClass.java b/tests/bugs163/pr171042/TestClass.java
new file mode 100644
index 000000000..645af793f
--- /dev/null
+++ b/tests/bugs163/pr171042/TestClass.java
@@ -0,0 +1,13 @@
+package test;
+
+public class TestClass {
+
+ public static void main(String[] args) {
+ Executable executable = new Executable() {
+ public void execute() {
+
+ }
+ };
+ }
+}
+