Reworked unit tests for machine and renamed test_programs directory
This commit is contained in:
7
test/riscv_instructions/boolean_logic/switch.c
Normal file
7
test/riscv_instructions/boolean_logic/switch.c
Normal file
@ -0,0 +1,7 @@
|
||||
int main() {
|
||||
int x = 0;
|
||||
switch(x) {
|
||||
case 1: x = 1; break;
|
||||
default: return 0;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user