compiler-design-eth/javali_tests/HW4_nop90/Booleans/OkEquals3.javali
2020-01-15 22:38:07 +01:00

14 lines
203 B
Text

// Test the equal/not equal operations, one of the types must be a subtype of the other
class Main {
void main() {
boolean a,b,c;
a = true;
b = 6<10;
c = a==b;
if (c){
write(5);}
}
}