jdk
1/*
2* @test /nodynamiccopyright/
3* @bug 6882235
4* @summary invalid exponent causes silent javac crash
5*
6* @compile/fail/ref=T6882235.out -XDrawDiagnostics T6882235.java
7*/
8
9class T6882235 {
10int i = ; // invalid expression
11float f = 0e*; // invalid exponent, should not crash compiler
12int j = ; // invalid expression
13}
14