llvm-for-llvmta/test/CodeGen/Generic/call-void.ll

12 lines
126 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc < %s
define void @foo() {
ret void
}
define i32 @main() {
call void @foo( )
ret i32 0
}