jdk-24/test/langtools/tools/javac/importChecks/InvalidImportsNoClasses.java
2017-09-12 19:03:39 +02:00

11 lines
308 B
Java

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