summaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr148727
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs152/pr148727')
-rw-r--r--tests/bugs152/pr148727/Asp.aj2
-rw-r--r--tests/bugs152/pr148727/Client.java7
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/bugs152/pr148727/Asp.aj b/tests/bugs152/pr148727/Asp.aj
new file mode 100644
index 000000000..446fb5849
--- /dev/null
+++ b/tests/bugs152/pr148727/Asp.aj
@@ -0,0 +1,2 @@
+public aspect Asp {
+}
diff --git a/tests/bugs152/pr148727/Client.java b/tests/bugs152/pr148727/Client.java
new file mode 100644
index 000000000..2ced473f4
--- /dev/null
+++ b/tests/bugs152/pr148727/Client.java
@@ -0,0 +1,7 @@
+public class Client {
+ public static void main(String argz[]) {
+ if (!Asp.hasAspect())
+ throw new RuntimeException("ou est le aspect?");
+ System.out.println("Can call aspectOf? "+Asp.aspectOf());
+ }
+}