llvm-6502/test/CodeGen/Generic/call-void.ll
2006-12-02 04:23:10 +00:00

11 lines
124 B
LLVM

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