1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
llvm-mirror/test/Regression/Jello/test-ret.ll

14 lines
359 B
LLVM
Raw Normal View History

2002-11-21 18:18:37 +01:00
; test return instructions
void %test() { ret void }
sbyte %test() { ret sbyte 1 }
ubyte %test() { ret ubyte 1 }
short %test() { ret short -1 }
ushort %test() { ret ushort 65535 }
2002-12-13 06:42:57 +01:00
int %main() { ret int 0 }
2002-11-21 18:18:37 +01:00
uint %test() { ret uint 4 }
;long %test() { ret void }
;ulong %test() { ret void }
;float %test() { ret float 1.0 }
;double %test() { ret double 2.0 }