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