blob: 19deff00a5095eb39b13e95273fd016e17b91013 [file] [log] [blame]
/*
* @test /nodynamiccopyright/
* @bug 7101822
* @summary Verify that statically importing non-existing constant causes a compile-time error
* for files without a class.
*
* @compile/fail/ref=NoImportedNoClasses.out -XDrawDiagnostics NoImportedNoClasses.java
*/
import static java.lang.Runnable.UNKNOWN;