summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr84260
diff options
context:
space:
mode:
authoraclement <aclement>2005-06-08 10:48:50 +0000
committeraclement <aclement>2005-06-08 10:48:50 +0000
commitf747b829d02a4b76fc44da2a0eb1940c3e9cd593 (patch)
treedb45b32b96116097737a150736e11abc236eef93 /tests/bugs150/pr84260
parent36b591b08a5760d6189c9dd467e96f1574be7951 (diff)
downloadaspectj-f747b829d02a4b76fc44da2a0eb1940c3e9cd593.tar.gz
aspectj-f747b829d02a4b76fc44da2a0eb1940c3e9cd593.zip
tests for pr84260: static imports
Diffstat (limited to 'tests/bugs150/pr84260')
-rw-r--r--tests/bugs150/pr84260/A.java6
-rw-r--r--tests/bugs150/pr84260/I1.java6
-rw-r--r--tests/bugs150/pr84260/I2.java9
3 files changed, 21 insertions, 0 deletions
diff --git a/tests/bugs150/pr84260/A.java b/tests/bugs150/pr84260/A.java
new file mode 100644
index 000000000..32062ff34
--- /dev/null
+++ b/tests/bugs150/pr84260/A.java
@@ -0,0 +1,6 @@
+package a.b.c;
+
+public class A {
+
+ public static void m() {System.err.println("static method running");}
+}
diff --git a/tests/bugs150/pr84260/I1.java b/tests/bugs150/pr84260/I1.java
new file mode 100644
index 000000000..5ddcac98f
--- /dev/null
+++ b/tests/bugs150/pr84260/I1.java
@@ -0,0 +1,6 @@
+import static a.b.c.A.m;
+public class I1 {
+ public static void main(String []argv) {
+ m();
+ }
+}
diff --git a/tests/bugs150/pr84260/I2.java b/tests/bugs150/pr84260/I2.java
new file mode 100644
index 000000000..6e36b2dc7
--- /dev/null
+++ b/tests/bugs150/pr84260/I2.java
@@ -0,0 +1,9 @@
+import static a.b.c.A.*;
+
+public class I2 {
+
+ public static void main(String []argv) {
+ m();
+ }
+
+}