jdk-24/langtools/test/tools/javac/T4994049/T4994049.java

15 lines
264 B
Java
Raw Normal View History

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