langtools/test/tools/javac/T8026963/TypeAnnotationsCrashWithErroneousTreeTest.java
author vromero
Mon, 11 Jul 2016 15:27:52 -0700
changeset 39601 5b37e511ae4b
parent 21716 fdb441b50289
child 40835 6ab9ed1abc46
permissions -rw-r--r--
8161020: javac, fold stop compilation options Reviewed-by: mcimadamore

/*
 * @test /nodynamiccopyright/
 * @bug 8026963
 * @summary type annotations code crashes for lambdas with void argument
 * @compile/fail/ref=TypeAnnotationsCrashWithErroneousTreeTest.out -XDrawDiagnostics -Xshouldstop:at=FLOW TypeAnnotationsCrashWithErroneousTreeTest.java
 */

public class TypeAnnotationsCrashWithErroneousTreeTest {
    private void t(this) {}
}