// Tests simple switch()-statement - including a continue statement for the enclosing loop
// Expected output 'a1aa1a' (numbers should be inverted)

void main() {
    char* const SCREEN = 0x0400;
    for(char i:0..5) {
        // Test switching on a simple char
        switch(i) {
            case 1:
            case 4:
                SCREEN[i] = '1';
                break;
            default:
                // No case for 0 & 5
                SCREEN[i] = 'a';
                // Continue skips inverting the char
                continue;
        }
        // Invert the screen character
        SCREEN[i] |= 0x80;
    }
}
