jdk-24/test/langtools/tools/javac/ImplicitClass/SourceLevelErrorPosition.java

14 lines
344 B
Java
Raw Normal View History

/**
* @test /nodynamiccopyright/
* @bug 8310314
* @summary Ensure proper error position for the "implicit classes not supported" error
* @compile/fail/ref=SourceLevelErrorPosition.out -XDrawDiagnostics SourceLevelErrorPosition.java
*/
class Nested {}
void main() {
System.err.println("");
}
void test() {
System.err.println("");
}