llvm-6502/test/CodeGen/Generic/call-ret0.ll
2006-12-02 04:23:10 +00:00

11 lines
137 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc
int %foo(int %x) {
ret int %x
}
int %main() {
%r = call int %foo(int 0)
ret int %r
}