jdk-24/test/langtools/tools/javac/boxing/Boxing2.java
2017-09-12 19:03:39 +02:00

15 lines
290 B
Java

/*
* @test /nodynamiccopyright/
* @bug 4974939
* @summary Boxing/unboxing negative unit and regression tests
* @author gafter
* @compile/fail/ref=Boxing2.out -XDrawDiagnostics Boxing2.java
*/
public class Boxing2 {
void f() {
Long l = 12; // no compound boxing
}
}