jdk-24/test/langtools/tools/javac/T4994049/T4994049.java
2017-09-12 19:03:39 +02:00

15 lines
264 B
Java

/*
* @test /nodynamiccopyright/
* @bug 4994049
* @summary Improved diagnostics while parsing enums
* @author Peter von der Ah\u00e9
* @compile/fail/ref=T4994049.out -XDrawDiagnostics T4994049.java
*/
public enum T4994049 {
FOO {
}
BAR;
}