aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-08-20 12:11:37 +0000
committeracolyer <acolyer>2005-08-20 12:11:37 +0000
commitb0622ad2495f6bd3744751c9e52375f4b5601114 (patch)
tree9ce5107a6bd36a774fcb7ac52f1c45d919554952 /tests/bugs150
parentf624c3fcc076d2ec21a011aed01e0e24cb79df6a (diff)
downloadaspectj-b0622ad2495f6bd3744751c9e52375f4b5601114.tar.gz
aspectj-b0622ad2495f6bd3744751c9e52375f4b5601114.zip
tests for pr78314 and pr80571
Diffstat (limited to 'tests/bugs150')
-rw-r--r--tests/bugs150/pr80571.aj22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/bugs150/pr80571.aj b/tests/bugs150/pr80571.aj
new file mode 100644
index 000000000..f7e3bc806
--- /dev/null
+++ b/tests/bugs150/pr80571.aj
@@ -0,0 +1,22 @@
+public class pr80571 {
+
+ public static void main(String[] args) {
+ new pr80571();
+ }
+
+}
+
+interface I {
+ public final String NAME = "I";
+ public pr80571 testObj = new pr80571();
+
+}
+
+aspect A {
+ Object around() : call(*.new(..)) {
+ System.out.println("before");
+ Object ret = proceed();
+ System.out.println("after");
+ return ret;
+ }
+} \ No newline at end of file