Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
betterCswitch.d
blob: a140ea9963a7e08dc5b8369b5e7a787d60e792d9 [
file
] [
log
] [
blame
]
import
core
.
stdc
.
stdio
;
extern
(
C
)
int
main
()
{
printf
(
"hello world\n"
);
foo
(
3
);
return
0
;
}
int
foo
(
int
i
)
{
final
switch
(
i
)
{
case
1
:
break
;
}
return
i
;
}