jdk-24/test/langtools/tools/javac/importChecks/InvalidImportsNoClasses.java

11 lines
308 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
* @bug 4041851 4312063
2007-12-01 00:00:00 +00:00
* @summary Verify that nonexistent imports detected when no classes declared in compilation unit.
* @author maddox
*
* @compile/fail/ref=InvalidImportsNoClasses.out -XDrawDiagnostics InvalidImportsNoClasses.java
2007-12-01 00:00:00 +00:00
*/
import nonexistent.pack.cls;