1f4a2713aSLionel Sambuc// Test this without pch. 2*0a6a1f1dSLionel Sambuc// RUN: %clang_cc1 -include %S/objcxx-ivar-class.h -triple %itanium_abi_triple %s -emit-llvm -o - | FileCheck %s 3f4a2713aSLionel Sambuc 4f4a2713aSLionel Sambuc// Test with pch. 5*0a6a1f1dSLionel Sambuc// RUN: %clang_cc1 -x objective-c++-header -triple %itanium_abi_triple -emit-pch -o %t %S/objcxx-ivar-class.h 6*0a6a1f1dSLionel Sambuc// RUN: %clang_cc1 -include-pch %t -triple %itanium_abi_triple %s -emit-llvm -o - | FileCheck %s 7f4a2713aSLionel Sambuc 8f4a2713aSLionel Sambuc// CHECK: [C position] 9f4a2713aSLionel Sambuc// CHECK: call {{.*}} @_ZN1SC1ERKS_ 10f4a2713aSLionel Sambuc 11f4a2713aSLionel Sambuc// CHECK: [C setPosition:] 12*0a6a1f1dSLionel Sambuc// CHECK: = call {{.*}}%struct.S* @_ZN1SaSERKS_ 13f4a2713aSLionel Sambuc 14f4a2713aSLionel Sambuc// CHECK: [C .cxx_destruct] 15f4a2713aSLionel Sambuc// CHECK: [C .cxx_construct] 16