1 // RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s
10 A::A() : x(test0::x) {}
12 // CHECK-LABEL: define{{.*}} void @_ZN5test01AC2Ev(
13 // CHECK: [[THIS:%.*]] = alloca ptr, align 8
15 // CHECK-NEXT: [[T0:%.*]] = load ptr, ptr [[THIS]]
16 // CHECK-NEXT: [[T1:%.*]] = getelementptr inbounds [[TEST0:%.*]], ptr [[T0]], i32 0, i32 0
17 // CHECK-NEXT: [[T2:%.*]] = load ptr, ptr @_ZN5test01xE
18 // CHECK-NEXT: call ptr @objc_assign_strongCast(ptr [[T2]], ptr [[T1]])
19 // CHECK-NEXT: ret void