summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bindings/llvm-c/callsite_attributes.ll
blob: 4b4e488a695ed863fde6559a4597269c3e707238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-as %s -o %t.bc
; RUN: llvm-c-test --test-callsite-attributes < %t.bc
; This used to segfault

define void @Y() {
    ret void
}

define void @X() {
    call void @X()
    ret void
}
OpenPOWER on IntegriCloud