langtools/test/tools/javac/4980495/static/Test.java
changeset 10 06bc494ca11e
child 6150 d055fa8ced62
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/langtools/test/tools/javac/4980495/static/Test.java	Sat Dec 01 00:00:00 2007 +0000
@@ -0,0 +1,17 @@
+/*
+ * @test  /nodynamiccopyright/
+ * @bug 4980495 6260444
+ * @compile/fail/ref=Test.out -XDstdout -XDrawDiagnostics Test.java p1/A1.java p2/A2.java
+ */
+
+package p;
+
+import static p1.A1.f;
+import static p2.A2.f;
+
+public class Test {
+
+    public static void main(String argv[]) {
+        f = 1;
+    }
+}