repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
A8.6.92 MCR (Encoding A1): if coproc == '101x' then SEE "Advanced SIMD and VFP"
[llvm/stm8.git]
/
test
/
FrontendAda
/
switch.adb
blob
0c83a2e6420e153359da25a4c043af09a5818253
1
-- RUN: %llvmgcc -S %s
2
function
Switch
(
N
:
Integer
)
return
Integer
is
3
begin
4
case
N
is
5
when
Integer
'First
.. -
1
=>
6
return
-
1
;
7
when
0
=>
8
return
0
;
9
when others
=>
10
return
1
;
11
end case
;
12
end
;