10
|
1 |
/*
|
|
2 |
* @test /nodynamiccopyright/
|
|
3 |
* @bug 4994049
|
|
4 |
* @summary Improved diagnostics while parsing enums
|
|
5 |
* @author Peter von der Ah\u00e9
|
6150
|
6 |
* @compile/fail/ref=T4994049.out -XDrawDiagnostics T4994049.java
|
10
|
7 |
*/
|
|
8 |
|
|
9 |
public enum T4994049 {
|
|
10 |
FOO {
|
|
11 |
}
|
|
12 |
|
|
13 |
BAR;
|
|
14 |
}
|