summaryrefslogtreecommitdiff
path: root/release_23/test/CodeGen/Generic/call-void.ll
blob: b882689923968cc4a156d21b5b9275490457d344 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | llc

define void @foo() {
        ret void
}

define i32 @main() {
        call void @foo( )
        ret i32 0
}