1 // RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin10 | FileCheck %s
13 // CHECK: store i32 10, ptr @_ZN6PR53921A1aE
15 // CHECK: store i32 20, ptr @_ZN6PR53921A1aE
32 // CHECK: call noundef ptr @_Z1gv()
34 // CHECK: call void @_ZN1AC1Ev(
35 // CHECK: call void @_ZN1AD1Ev(
61 // CHECK-LABEL: define{{.*}} i32 @_ZN5test44testEv()
63 // CHECK: load {{.*}} @_ZN5test45c_ptrE
64 // CHECK-NEXT: getelementptr
65 // CHECK-NEXT: call void @_ZN5test41B3fooEv
68 // CHECK: load {{.*}} @_ZN5test45c_ptrE
69 // CHECK-NEXT: getelementptr
70 // CHECK-NEXT: getelementptr
71 // CHECK-NEXT: store i32 5
74 // CHECK: load {{.*}} @_ZN5test45c_ptrE
75 // CHECK-NEXT: getelementptr
76 // CHECK-NEXT: getelementptr
77 // CHECK-NEXT: load i32, ptr