mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-06 16:38:36 +00:00
15 lines
264 B
Java
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;
|
|
}
|