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

12 lines
136 B
LLVM

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