aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr102933.aj
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-09-27 15:10:58 +0000
committeracolyer <acolyer>2005-09-27 15:10:58 +0000
commitfb428d0e5ad8adabc14049f8a170b30d57044588 (patch)
tree5b74c48d456ef546126d2f9247a158773e3a8e95 /tests/bugs150/pr102933.aj
parent21804a0c3d3a26b124eca65799b5f6462f6c1d02 (diff)
downloadaspectj-fb428d0e5ad8adabc14049f8a170b30d57044588.tar.gz
aspectj-fb428d0e5ad8adabc14049f8a170b30d57044588.zip
tests for pr102933, array clone in -1.4, -1.5 vs -1.3
Diffstat (limited to 'tests/bugs150/pr102933.aj')
-rw-r--r--tests/bugs150/pr102933.aj14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs150/pr102933.aj b/tests/bugs150/pr102933.aj
new file mode 100644
index 000000000..42969ca75
--- /dev/null
+++ b/tests/bugs150/pr102933.aj
@@ -0,0 +1,14 @@
+package com.test;
+
+public class pr102933 {
+
+ public void test() {
+ pr102933[] array = new pr102933[0];
+ pr102933[] arrayClone = (pr102933[])array.clone();
+ }
+}
+
+aspect MyAspect {
+ declare warning: call(* *(..)) :
+ "a call within pr102933";
+} \ No newline at end of file