diff options
author | aclement <aclement> | 2011-04-28 18:06:21 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-04-28 18:06:21 +0000 |
commit | 464d48469d8cf1255daae2eecb2f1b9d453d1616 (patch) | |
tree | 3e4018f3ee7801e97910d0e05e2be73e09a20ae8 /tests/bugs1612 | |
parent | 5edfa227e93303c531a3224d58d02179fd4f7e7e (diff) | |
download | aspectj-464d48469d8cf1255daae2eecb2f1b9d453d1616.tar.gz aspectj-464d48469d8cf1255daae2eecb2f1b9d453d1616.zip |
315398: remove dirty hack from the olden days
Diffstat (limited to 'tests/bugs1612')
-rw-r--r-- | tests/bugs1612/pr315398/Code2.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs1612/pr315398/Code2.java b/tests/bugs1612/pr315398/Code2.java new file mode 100644 index 000000000..d1893158f --- /dev/null +++ b/tests/bugs1612/pr315398/Code2.java @@ -0,0 +1,19 @@ +public aspect Code2 { + + static int[] a = new int[]{1,2,3}; + + static void f(){ + new Test(a[0]++); +} + +after() returning(Object obj) : call(Test.new(..)) { +} + + public static void main(String []argv) { + f(); + } +} + +class Test { + Test(int i) {} +} |