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