test/langtools/tools/javac/T8026963/TypeAnnotationsCrashWithErroneousTreeTest.java
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 40835 langtools/test/tools/javac/T8026963/TypeAnnotationsCrashWithErroneousTreeTest.java@6ab9ed1abc46
child 49518 d0ff431a596e
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
21716
fdb441b50289 8026963: type annotations code crashes for code with erroneous trees
vromero
parents:
diff changeset
     1
/*
fdb441b50289 8026963: type annotations code crashes for code with erroneous trees
vromero
parents:
diff changeset
     2
 * @test /nodynamiccopyright/
fdb441b50289 8026963: type annotations code crashes for code with erroneous trees
vromero
parents:
diff changeset
     3
 * @bug 8026963
fdb441b50289 8026963: type annotations code crashes for code with erroneous trees
vromero
parents:
diff changeset
     4
 * @summary type annotations code crashes for lambdas with void argument
40835
6ab9ed1abc46 8162546: change hidden options -Xdebug to --debug, -XshouldStop to --should-stop, and -diags to --diags
vromero
parents: 39601
diff changeset
     5
 * @compile/fail/ref=TypeAnnotationsCrashWithErroneousTreeTest.out -XDrawDiagnostics --should-stop:at=FLOW TypeAnnotationsCrashWithErroneousTreeTest.java
21716
fdb441b50289 8026963: type annotations code crashes for code with erroneous trees
vromero
parents:
diff changeset
     6
 */
fdb441b50289 8026963: type annotations code crashes for code with erroneous trees
vromero
parents:
diff changeset
     7
fdb441b50289 8026963: type annotations code crashes for code with erroneous trees
vromero
parents:
diff changeset
     8
public class TypeAnnotationsCrashWithErroneousTreeTest {
fdb441b50289 8026963: type annotations code crashes for code with erroneous trees
vromero
parents:
diff changeset
     9
    private void t(this) {}
fdb441b50289 8026963: type annotations code crashes for code with erroneous trees
vromero
parents:
diff changeset
    10
}