aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr148786
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs152/pr148786')
-rw-r--r--tests/bugs152/pr148786/A.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs152/pr148786/A.java b/tests/bugs152/pr148786/A.java
new file mode 100644
index 000000000..8250730b2
--- /dev/null
+++ b/tests/bugs152/pr148786/A.java
@@ -0,0 +1,11 @@
+public class A {
+ public static void main(String []argv) {
+ byte[][] bytes = new byte[][]{{0},{1}};
+ }
+}
+
+aspect X {
+ after() returning(Object o) : call(*[][].new(..)) {
+ System.err.println("new array: "+o.getClass());
+ }
+}