summaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr148727/Client.java
diff options
context:
space:
mode:
authoraclement <aclement>2006-06-28 09:16:01 +0000
committeraclement <aclement>2006-06-28 09:16:01 +0000
commit21e06a69892469bab688d2315e7e034047431082 (patch)
tree2220f50d7955df66d7ee3e5cb0d32ba3eeaeadf9 /tests/bugs152/pr148727/Client.java
parentb59b036af89c28616efeda9b4cef1043c34337d6 (diff)
downloadaspectj-21e06a69892469bab688d2315e7e034047431082.tar.gz
aspectj-21e06a69892469bab688d2315e7e034047431082.zip
test and fix for 148727 - reverse synthetic changes for aspectOf() and hasAspect()
Diffstat (limited to 'tests/bugs152/pr148727/Client.java')
-rw-r--r--tests/bugs152/pr148727/Client.java7
1 files changed, 7 insertions, 0 deletions
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());
+ }
+}