Peter Collingbourne | 3cb8627 | 2016-11-14 23:18:38 +0000 | [diff] [blame] | 1 | @g1 = external global i32, !attach !0 |
2 | |||||
3 | @g2 = global i32 1, !attach !0 | ||||
4 | |||||
5 | @g3 = global i32 2, !attach !0 | ||||
6 | |||||
7 | declare !attach !0 void @f1() | ||||
8 | |||||
9 | define void @f2() !attach !0 { | ||||
10 | call void @f1() | ||||
11 | store i32 0, i32* @g1 | ||||
12 | ret void | ||||
13 | } | ||||
14 | |||||
15 | define void @f3() !attach !0 { | ||||
16 | ret void | ||||
17 | } | ||||
18 | |||||
19 | !0 = !{i32 1} |