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

11 lines
300 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
2007-12-01 00:00:00 +00:00
* @bug 4312063
* @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;