brintos

brintos / llvm-project-archived public Read only

0
0
Text · 617 B · 4469e20 Raw
17 lines · plain
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 %s4 5// Test with pch.6// RUN: %clang_cc1 -x objective-c++-header -triple %itanium_abi_triple -emit-pch -o %t %S/objcxx-ivar-class.h7// RUN: %clang_cc1 -include-pch %t -triple %itanium_abi_triple %s -emit-llvm -o - | FileCheck %s8 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]17