llvm-project/llvm/test/ExecutionEngine/simpletest.ll

13 lines
169 B
LLVM
Raw Normal View History

; RUN: llvm-as %s -o %t.bc
2004-11-07 07:32:43 +08:00
; RUN: lli %t.bc > /dev/null
define i32 @bar() {
ret i32 0
}
2002-12-05 01:35:11 +08:00
define i32 @main() {
%r = call i32 @bar( ) ; <i32> [#uses=1]
ret i32 %r
2002-12-05 01:35:11 +08:00
}