projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rename PointsToLocalMemory to PointsToLocalOrConstantMemory to make
[oota-llvm.git]
/
test
/
ExecutionEngine
/
test-ret.ll
1
; RUN: llvm-as %s -o %t.bc
2
; RUN: lli %t.bc > /dev/null
3
4
; test return instructions
5
define void @test1() {
6
ret void
7
}
8
9
define i8 @test2() {
10
ret i8 1
11
}
12
13
define i8 @test3() {
14
ret i8 1
15
}
16
17
define i16 @test4() {
18
ret i16 -1
19
}
20
21
define i16 @test5() {
22
ret i16 -1
23
}
24
25
define i32 @main() {
26
ret i32 0
27
}
28
29
define i32 @test6() {
30
ret i32 4
31
}
32
33
define i64 @test7() {
34
ret i64 0
35
}
36
37
define i64 @test8() {
38
ret i64 0
39
}
40
41
define float @test9() {
42
ret float 1.000000e+00
43
}
44
45
define double @test10() {
46
ret double 2.000000e+00
47
}