1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -x objective-c -fobjc-arc -emit-pch -o %t %s
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -x objective-c -fobjc-arc -include-pch %t -emit-llvm -o - %s | FileCheck %s
11 static inline id getObj(id a) {
12 S *p = &(S){ .f = a };
18 // CHECK: %[[STRUCT_S:.*]] = type { ptr }
20 // CHECK: define internal ptr @getObj(
21 // CHECK: %[[_COMPOUNDLITERAL:.*]] = alloca %[[STRUCT_S]],
22 // CHECK: call void @__destructor_8_s0(ptr %[[_COMPOUNDLITERAL]])