hanchenye-llvm-project/llvm/test/Regression/CodeGen/Generic/call-ret0.ll

11 lines
122 B
LLVM

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