langtools/test/tools/javac/T6567414.java
author darcy
Sun, 14 Nov 2010 07:16:46 -0800 (2010-11-14)
changeset 7213 912fdd70fd2a
parent 4704 5206047418c2
permissions -rw-r--r--
6991528: Support making Throwable.suppressedExceptions immutable Reviewed-by: mcimadamore
/*
 * @test /nodynamiccopyright/
 * @bug 6567414
 * @summary javac compiler reports no source file or line on enum constant declaration error
 * @compile/fail/ref=T6567414.out -XDrawDiagnostics T6567414.java
 */
enum Test {
  FOO;
  Test() throws Exception {}
}