test/langtools/tools/javac/T4994049/T4994049.java
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 6150 langtools/test/tools/javac/T4994049/T4994049.java@d055fa8ced62
child 57724 447d48371b41
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse

/*
 * @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;
}