mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
10 lines
308 B
Java
10 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;
|