1%bug_type = type { %bug_type* }
2%bar = type { i32 }
3
4define i32 @bug_a(%bug_type* %fp) nounwind uwtable {
5entry:
6  %d_stream = getelementptr inbounds %bug_type, %bug_type* %fp, i64 0, i32 0
7  ret i32 0
8}
9
10define i32 @bug_b(%bar* %a) nounwind uwtable {
11entry:
12  ret i32 0
13}
14