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

11 lines
109 B
LLVM

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