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

13 lines
209 B
Java

/*** multiple error detection: incompatible types on lines 7 and 8
* COMP 520
* Type checking
*/
class fail39 {
public static void main(String [] args) {
int x = 3 > 4;
boolean b = 2 + 3;
}
}