summaryrefslogtreecommitdiffstats
path: root/tests/bugs160
diff options
context:
space:
mode:
authoraclement <aclement>2008-03-15 00:05:53 +0000
committeraclement <aclement>2008-03-15 00:05:53 +0000
commit84b0374d8a6d88141a1ae6cf06183262169d7d8c (patch)
treee75baa969a1e75bd5b07651ea4d9be8373ebe822 /tests/bugs160
parent5924da3cbfb32871141c1fc2e9ac23d29ccaecf6 (diff)
downloadaspectj-84b0374d8a6d88141a1ae6cf06183262169d7d8c.tar.gz
aspectj-84b0374d8a6d88141a1ae6cf06183262169d7d8c.zip
180264 - testcode
Diffstat (limited to 'tests/bugs160')
-rw-r--r--tests/bugs160/pr180264/Foo.java8
-rw-r--r--tests/bugs160/pr180264/Main.java9
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs160/pr180264/Foo.java b/tests/bugs160/pr180264/Foo.java
new file mode 100644
index 000000000..d3c96dc60
--- /dev/null
+++ b/tests/bugs160/pr180264/Foo.java
@@ -0,0 +1,8 @@
+package a;
+
+public class Foo {
+ private static void foo(Object a) {
+ }
+ public static void foo(int[] a) {
+ }
+}
diff --git a/tests/bugs160/pr180264/Main.java b/tests/bugs160/pr180264/Main.java
new file mode 100644
index 000000000..13a0003cf
--- /dev/null
+++ b/tests/bugs160/pr180264/Main.java
@@ -0,0 +1,9 @@
+package a;
+
+public class Main {
+
+ public static void main(String[] args) {
+ Object a = null;
+ Foo.foo((int[])a);
+ }
+}