In the latest episode of "Deserializing bugs caused by accessors" the series reached...
[clang.git] / test / PCH / objcxx-ivar-class.mm
blob89d3e087f90f54dbde5c3e57e2d7e51e034631a9
1 // Test this without pch.
2 // RUN: %clang_cc1 -include %S/objcxx-ivar-class.h -verify %s -emit-llvm -o - | FileCheck %s
4 // Test with pch.
5 // RUN: %clang_cc1 -x objective-c++-header -emit-pch -o %t %S/objcxx-ivar-class.h
6 // RUN: %clang_cc1 -include-pch %t -verify %s -emit-llvm -o - | FileCheck %s
8 // CHECK: [C position]
9 // CHECK: call void @_ZN1SC1ERKS_
11 // CHECK: [C setPosition:]
12 // CHECK: call %struct.S* @_ZN1SaSERKS_
14 // CHECK: [C .cxx_destruct]
15 // CHECK: [C .cxx_construct]