summaryrefslogtreecommitdiffstats
path: root/tests/bugs153
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs153')
-rw-r--r--tests/bugs153/pr153490/A.aj4
-rw-r--r--tests/bugs153/pr153490/A2.aj7
-rw-r--r--tests/bugs153/pr153490/Bar.java7
-rw-r--r--tests/bugs153/pr153490/C.java7
-rw-r--r--tests/bugs153/pr153490/Foo.java7
-rw-r--r--tests/bugs153/pr153490/Goo.java6
-rw-r--r--tests/bugs153/pr153490/jarForBar.jarbin0 -> 2196 bytes
-rw-r--r--tests/bugs153/pr153490/jarForFoo.jarbin0 -> 1814 bytes
-rw-r--r--tests/bugs153/pr153490/jarForGoo.jarbin0 -> 2163 bytes
-rw-r--r--tests/bugs153/pr153490/readme.txt5
-rw-r--r--tests/bugs153/pr153490/required.jarbin0 -> 1819 bytes
11 files changed, 43 insertions, 0 deletions
diff --git a/tests/bugs153/pr153490/A.aj b/tests/bugs153/pr153490/A.aj
new file mode 100644
index 000000000..c9d4c0bf0
--- /dev/null
+++ b/tests/bugs153/pr153490/A.aj
@@ -0,0 +1,4 @@
+public aspect A {
+ public enum TestType {Pre};
+}
+
diff --git a/tests/bugs153/pr153490/A2.aj b/tests/bugs153/pr153490/A2.aj
new file mode 100644
index 000000000..7e7f6be62
--- /dev/null
+++ b/tests/bugs153/pr153490/A2.aj
@@ -0,0 +1,7 @@
+public aspect A2 {
+
+ public static class C {
+ public enum TestType {Pre};
+ }
+
+}
diff --git a/tests/bugs153/pr153490/Bar.java b/tests/bugs153/pr153490/Bar.java
new file mode 100644
index 000000000..102323eaa
--- /dev/null
+++ b/tests/bugs153/pr153490/Bar.java
@@ -0,0 +1,7 @@
+public class Bar {
+
+ public static void main(String[] args) {
+ A2.C.TestType pre = A2.C.TestType.Pre;
+ }
+
+}
diff --git a/tests/bugs153/pr153490/C.java b/tests/bugs153/pr153490/C.java
new file mode 100644
index 000000000..86cf7793b
--- /dev/null
+++ b/tests/bugs153/pr153490/C.java
@@ -0,0 +1,7 @@
+public class C {
+
+ static aspect A {
+ public enum TestType {Pre};
+ }
+
+}
diff --git a/tests/bugs153/pr153490/Foo.java b/tests/bugs153/pr153490/Foo.java
new file mode 100644
index 000000000..d6643e152
--- /dev/null
+++ b/tests/bugs153/pr153490/Foo.java
@@ -0,0 +1,7 @@
+public class Foo {
+
+ public static void main(String[] args) {
+ A.TestType pre = A.TestType.Pre;
+ }
+
+}
diff --git a/tests/bugs153/pr153490/Goo.java b/tests/bugs153/pr153490/Goo.java
new file mode 100644
index 000000000..f68367947
--- /dev/null
+++ b/tests/bugs153/pr153490/Goo.java
@@ -0,0 +1,6 @@
+public class Goo {
+
+ public static void main(String[] args) {
+ C.A.TestType pre = C.A.TestType.Pre;
+ }
+}
diff --git a/tests/bugs153/pr153490/jarForBar.jar b/tests/bugs153/pr153490/jarForBar.jar
new file mode 100644
index 000000000..026dd15f4
--- /dev/null
+++ b/tests/bugs153/pr153490/jarForBar.jar
Binary files differ
diff --git a/tests/bugs153/pr153490/jarForFoo.jar b/tests/bugs153/pr153490/jarForFoo.jar
new file mode 100644
index 000000000..fb3b134d7
--- /dev/null
+++ b/tests/bugs153/pr153490/jarForFoo.jar
Binary files differ
diff --git a/tests/bugs153/pr153490/jarForGoo.jar b/tests/bugs153/pr153490/jarForGoo.jar
new file mode 100644
index 000000000..d261c1a66
--- /dev/null
+++ b/tests/bugs153/pr153490/jarForGoo.jar
Binary files differ
diff --git a/tests/bugs153/pr153490/readme.txt b/tests/bugs153/pr153490/readme.txt
new file mode 100644
index 000000000..08799734e
--- /dev/null
+++ b/tests/bugs153/pr153490/readme.txt
@@ -0,0 +1,5 @@
+to regenerate jarForFoo.jar: ajc A.aj -outjar required.jar -1.5 -noExit
+
+to regenerate jarForBar.jar: ajc A2.aj -outjar jarForBar.jar -1.5 -noExit
+
+to regenerate jarForGoo.jar: ajc C.java -outjar jarForGoo.jar -1.5 -noExit
diff --git a/tests/bugs153/pr153490/required.jar b/tests/bugs153/pr153490/required.jar
new file mode 100644
index 000000000..def76fe30
--- /dev/null
+++ b/tests/bugs153/pr153490/required.jar
Binary files differ