langtools/test/tools/javac/enum/6384542/T6384542.java
changeset 7335 8b390fd27190
parent 6150 d055fa8ced62
equal deleted inserted replaced
7334:f432af22de29 7335:8b390fd27190
     1 /**
     1 /**
     2  * @test  /nodynamiccopyright/
     2  * @test  /nodynamiccopyright/
     3  * @bug     6384542
     3  * @bug     6384542
     4  * @summary crash: test/tools/javac/versions/check.sh
     4  * @summary crash: test/tools/javac/versions/check.sh
     5  * @author  Peter von der Ah\u00e9
     5  * @author  Peter von der Ah\u00e9
     6  * @compile/fail -source 1.4 T6384542.java
     6  * @compile/fail -source 1.4 -Xlint:-options T6384542.java
     7  * @compile/fail/ref=T6384542.out -source 1.4 -XDrawDiagnostics T6384542.java
     7  * @compile/fail/ref=T6384542.out -source 1.4 -Xlint:-options -XDrawDiagnostics T6384542.java
     8  */
     8  */
     9 
     9 
    10 import static java.lang.Math.sin;
    10 import static java.lang.Math.sin;
    11 
    11 
    12 public enum A { }
    12 public enum A { }