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

11 lines
124 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as | llc
2004-11-07 05:40:51 +08:00
void %foo() {
ret void
}
int %main() {
call void ()* %foo()
ret int 0
}