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

11 lines
124 B
LLVM

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