18 lines
301 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @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;
}
}