aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/Inputs/PR11464.b.ll
blob: 7ef5a361291a67597530ff222af4dd0324e93b81 (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* %fp, i64 0, i32 0
  ret i32 0
}

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