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

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
}