jdk-24/test/langtools/tools/javac/6491592/T6491592.java

15 lines
313 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
* @bug 6491592
* @summary Compiler crashes on assignment operator
* @author alex.buckley@...
* @compile/fail/ref=T6491592.out -XDrawDiagnostics T6491592.java
2007-12-01 00:00:00 +00:00
*/
public class T6491592 {
public static void meth() {
2007-12-01 00:00:00 +00:00
Object o = null;
o += null;
}
}