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

13 lines
193 B
Java

/*** < not defined for boolean type
* COMP 520
* Type checking
*/
class fail46 {
public static void main(String[] args) {
int x = 1;
if (true < false)
x = 2;
}
}