1 ; RUN: llc < %s -mtriple=thumbv6-apple-darwin -relocation-model=pic -frame-pointer=all
3 %struct.LinkList = type { i32, ptr }
4 %struct.List = type { i32, ptr }
5 @llvm.used = appending global [1 x ptr] [ptr @main], section "llvm.metadata" ; <ptr> [#uses=0]
7 define i32 @main() nounwind {
9 %ll = alloca ptr, align 4 ; <ptr> [#uses=1]
10 %0 = call i32 @ReadList(ptr %ll, ptr null) nounwind ; <i32> [#uses=1]
11 switch i32 %0, label %bb5 [
26 declare i32 @ReadList(ptr nocapture, ptr nocapture) nounwind