This website requires JavaScript.
Explore
Help
Register
Sign In
Rativel
/
BurritOS
Watch
1
Star
1
Fork
0
You've already forked BurritOS
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
539b3f6802
BurritOS
/
test
/
riscv_instructions
/
boolean_logic
/
switch.c
7 lines
108 B
C
Raw
Normal View
History
Unescape
Escape
ONGOING: Test programs
2023-02-08 16:01:41 +01:00
int
main
(
)
{
int
x
=
0
;
Fixed compilation warnings
2023-03-01 13:56:12 +01:00
switch
(
x
)
{
ONGOING: Test programs
2023-02-08 16:01:41 +01:00
case
1
:
x
=
1
;
break
;
Fixed compilation warnings
2023-03-01 13:56:12 +01:00
default
:
return
0
;
ONGOING: Test programs
2023-02-08 16:01:41 +01:00
}
}
Reference in New Issue
Copy Permalink