blob: eac1dc378f99152ee1ef90d08d3d5bcf464cecc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
; RUN: llvm-link %s -S -o - | FileCheck %s
; CHECK: @g1 = global i32 0, !attach !0
@g1 = global i32 0, !attach !0
; CHECK: @g2 = external global i32, !attach !0
@g2 = external global i32, !attach !0
; CHECK: define void @f1() !attach !0
define void @f1() !attach !0 {
call void @f2()
store i32 0, i32* @g2
ret void
}
; CHECK: declare !attach !0 void @f2()
declare !attach !0 void @f2()
!0 = !{}
|