mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 20:18:48 +00:00
Co-authored-by: Stuart Marks <smarks@openjdk.org> Reviewed-by: liach, cstein, vromero, naoto
14 lines
365 B
Java
14 lines
365 B
Java
/**
|
|
* @test /nodynamiccopyright/
|
|
* @bug 8310314 8344706
|
|
* @summary Ensure proper error position for the "implicit classes not supported" error
|
|
* @compile/fail/ref=SourceLevelErrorPosition.out --release 24 -XDrawDiagnostics SourceLevelErrorPosition.java
|
|
*/
|
|
class Nested {}
|
|
void main() {
|
|
System.err.println("");
|
|
}
|
|
void test() {
|
|
System.err.println("");
|
|
}
|