blob: 025f53e5cb9e44d4a2bbba881b33f64d85c0c352 [file] [log] [blame]
Eli Benderskya66a1852012-01-16 08:56:09 +00001; RUN: %lli %s > /dev/null
Tanya Lattnere9789ef2004-11-06 23:32:43 +00002
Chris Lattner2b905fd2002-11-21 17:18:37 +00003; test return instructions
Tanya Lattnerceca1942008-03-10 07:21:50 +00004define void @test1() {
5 ret void
6}
Chris Lattner2b905fd2002-11-21 17:18:37 +00007
Tanya Lattnerceca1942008-03-10 07:21:50 +00008define i8 @test2() {
9 ret i8 1
10}
11
12define i8 @test3() {
13 ret i8 1
14}
15
16define i16 @test4() {
17 ret i16 -1
18}
19
20define i16 @test5() {
21 ret i16 -1
22}
23
24define i32 @main() {
25 ret i32 0
26}
27
28define i32 @test6() {
29 ret i32 4
30}
31
32define i64 @test7() {
33 ret i64 0
34}
35
36define i64 @test8() {
37 ret i64 0
38}
39
40define float @test9() {
41 ret float 1.000000e+00
42}
43
44define double @test10() {
45 ret double 2.000000e+00
46}