aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/Inputs/PR11464.b.ll
blob: 2c74d9c4c3bcba6bb16d3e989193d48f7fc225aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
%bug_type = type { %bug_type* }
%bar = type { i32 }

define i32 @bug_a(%bug_type* %fp) nounwind uwtable {
entry:
  %d_stream = getelementptr inbounds %bug_type, %bug_type* %fp, i64 0, i32 0
  ret i32 0
}

define i32 @bug_b(%bar* %a) nounwind uwtable {
entry:
  ret i32 0
}