blob: 02195dd46451716d49715e508d7e710ac916d905 [file] [log] [blame]
Chris Lattner2b905fd2002-11-21 17:18:37 +00001; test return instructions
2
3void %test() { ret void }
4sbyte %test() { ret sbyte 1 }
5ubyte %test() { ret ubyte 1 }
6short %test() { ret short -1 }
7ushort %test() { ret ushort 65535 }
Chris Lattner9a32f072002-12-13 05:42:57 +00008int %main() { ret int 0 }
Chris Lattner2b905fd2002-11-21 17:18:37 +00009uint %test() { ret uint 4 }
Chris Lattner2ecd4952003-01-13 00:57:19 +000010long %test() { ret long 0 }
11ulong %test() { ret ulong 0 }
12float %test() { ret float 1.0 }
13double %test() { ret double 2.0 }