langtools/test/tools/javac/enum/AbstractEmptyEnum.java
author hseigel
Wed, 02 Mar 2016 23:48:41 +0000
changeset 36397 c487ced7231c
parent 25437 a06886489a6c
permissions -rw-r--r--
Merge

/*
 * @test /nodynamiccopyright/
 * @bug 5009601
 * @summary empty enum cannot be abstract
 * @author Joseph D. Darcy
 *
 * @compile/fail/ref=AbstractEmptyEnum.out -XDrawDiagnostics  AbstractEmptyEnum.java
 */

public enum AbstractEmptyEnum {
    ;
    abstract void m();
}