langtools/test/tools/javac/CompoundBox.java
author mchung
Wed, 27 May 2015 13:25:18 -0700
changeset 30846 2b3f379840f0
parent 26274 02a5b23ee21c
permissions -rw-r--r--
8074432: Move jdeps and javap to jdk.jdeps module Reviewed-by: jjg, alanb, erikj

/*
 * @test /nodynamiccopyright/
 * @bug 4960369
 * @summary drop compound boxing operations
 * @author gafter
 *
 * @compile/fail/ref=CompoundBox.out -XDrawDiagnostics  CompoundBox.java
 */

class CompoundBox {
    {
        Float f = 3;
    }
}