llvm-mirror/test/ExecutionEngine/simpletest.ll
2007-01-17 07:59:14 +00:00

13 lines
184 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
implementation
int %bar() { ret int 0 }
int %main() {
%r = call int %bar()
ret int %r
}