1
Fork 0
mini-java/miniJava/tests/pa3_tests/fail342.java

12 lines
212 B
Java

/*** limit cascaded errors: should report single type error
* COMP 520
* Identification
*/
class Fail42 {
public static void main(String[] args) {
int x = 2 + (3 + (4 + (5 + (1 != 0))));
}
}