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

define void @foo() {
        ret void
}

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