2007-12-01 00:00:00 +00:00
|
|
|
/**
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 6384542
|
|
|
|
* @summary crash: test/tools/javac/versions/check.sh
|
|
|
|
* @author Peter von der Ah\u00e9
|
2010-11-29 14:15:36 -08:00
|
|
|
* @compile/fail -source 1.4 -Xlint:-options T6384542.java
|
|
|
|
* @compile/fail/ref=T6384542.out -source 1.4 -Xlint:-options -XDrawDiagnostics T6384542.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
import static java.lang.Math.sin;
|
|
|
|
|
|
|
|
public enum A { }
|
|
|
|
class B {
|
|
|
|
int i = 0xCafe.BabeP1;
|
|
|
|
List<X> l;
|
|
|
|
public static void main(String... args) {
|
|
|
|
for (String arg : args) {
|
|
|
|
System.out.println(arg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public String toString() { return null; }
|
|
|
|
}
|
|
|
|
public klass C { }
|