aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153/StaticImport
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs153/StaticImport')
-rw-r--r--tests/bugs153/StaticImport/C.java8
-rw-r--r--tests/bugs153/StaticImport/StaticImport.java5
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs153/StaticImport/C.java b/tests/bugs153/StaticImport/C.java
new file mode 100644
index 000000000..fd86d0162
--- /dev/null
+++ b/tests/bugs153/StaticImport/C.java
@@ -0,0 +1,8 @@
+package ABC;
+
+import static ABC.StaticImport.Alphabet.A;
+import ABC.StaticImport.*;
+
+public class C {
+ protected Alphabet alphabet = A;
+}
diff --git a/tests/bugs153/StaticImport/StaticImport.java b/tests/bugs153/StaticImport/StaticImport.java
new file mode 100644
index 000000000..7148b8471
--- /dev/null
+++ b/tests/bugs153/StaticImport/StaticImport.java
@@ -0,0 +1,5 @@
+package ABC;
+
+public class StaticImport {
+ public enum Alphabet {A, B, C, D;}
+}