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

10 lines
159 B
Java
Raw Normal View History

2014-04-08 00:06:13 +00:00
/*** incorrect operand type for +
* COMP 520
* Type Checking
*/
class fail30 {
public static void main(String[] args) {
int a = 1 + (2 < 3);
}
}