jdk-24/test/langtools/tools/javac/4980495/std/Test.java

19 lines
269 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
* @bug 4980495 6260444
* @compile/fail/ref=Test.out -XDrawDiagnostics Test.java p1/A1.java p2/A2.java
2007-12-01 00:00:00 +00:00
*
*/
package p;
import p1.A1.f;
import p2.A2.f;
public class Test {
public static void meth() {
2007-12-01 00:00:00 +00:00
new f();
}
}