2023-03-23 16:04:35 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
2023-06-16 22:49:22 +00:00
|
|
|
* @bug 8027682
|
2023-03-23 16:04:35 +00:00
|
|
|
* @summary Verify proper error reporting of extra semicolon before import statement
|
|
|
|
* @compile/fail/ref=ExtraImportSemicolon.out1 -XDrawDiagnostics ExtraImportSemicolon.java
|
|
|
|
* @compile/ref=ExtraImportSemicolon.out2 --release 20 -XDrawDiagnostics ExtraImportSemicolon.java
|
|
|
|
*/
|
|
|
|
|
|
|
|
import java.util.Map;; // NOTE: extra semicolon
|
|
|
|
import java.util.Set;
|
|
|
|
|
|
|
|
class ExtraImportSemicolon {
|
|
|
|
}
|