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

9 lines
96 B
LLVM

int %foo(int %x) {
ret int 42
}
int %main() {
%r = call int %foo(int 15)
ret int %r
}