langtools/test/tools/javac/T4994049/T4994049.java
author alanb
Fri, 25 Jan 2013 13:09:47 +0000
changeset 15306 4d1877e73daa
parent 6150 d055fa8ced62
permissions -rw-r--r--
8006565: java.lang.instrument specification should make it clear that -javaagent is optional Reviewed-by: sla, dcubed, mchung

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