blob: 7387b1b14e02f77b97e8889bb77e8ce68e0b1c10 [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 Lattner9f1bd802002-12-04 17:15:07 +00008int %main() { ret int -1 }
Chris Lattner2b905fd2002-11-21 17:18:37 +00009uint %test() { ret uint 4 }
10;long %test() { ret void }
11;ulong %test() { ret void }
12;float %test() { ret float 1.0 }
13;double %test() { ret double 2.0 }