langtools/test/tools/javac/T6882235.java
author hseigel
Wed, 02 Mar 2016 23:48:41 +0000
changeset 36397 c487ced7231c
parent 30716 1bbdff43424d
permissions -rw-r--r--
Merge

/*
 * @test /nodynamiccopyright/
 * @bug 6882235
 * @summary invalid exponent causes silent javac crash
 *
 * @compile/fail/ref=T6882235.out -XDrawDiagnostics T6882235.java
 */

class T6882235 {
    int i = ;           // invalid expression
    float f = 0e*;      // invalid exponent, should not crash compiler
    int j = ;           // invalid expression
}