Adding RUN lines.
[oota-llvm.git] / test / ExecutionEngine / test-ret.ll
1 ; RUN: llvm-as -f %s -o %t.bc
2 ; RUN: lli %t.bc > /dev/null
3
4 ; test return instructions
5
6 void %test() { ret void }
7 sbyte %test() { ret sbyte 1 }
8 ubyte %test() { ret ubyte 1 }
9 short %test() { ret short -1 }
10 ushort %test() { ret ushort 65535 }
11 int  %main() { ret int 0 }
12 uint %test() { ret uint 4 }
13 long %test() { ret long 0 }
14 ulong %test() { ret ulong 0 }
15 float %test() { ret float 1.0 }
16 double %test() { ret double 2.0 }