compiler-design-eth/javali_tests/HW4_nop90/Booleans/OkEquals3.javali

15 lines
203 B
Plaintext

// 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);}
}
}