langtools/test/tools/javac/T6567414.java
author andrew
Thu, 03 Jun 2010 19:37:48 +0100
changeset 5639 730861c04a99
parent 4704 5206047418c2
permissions -rw-r--r--
6958257: Add support for alpha Summary: Allow the Zero port to be built on alpha architectures Reviewed-by: ohair

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