blob: 89d3e087f90f54dbde5c3e57e2d7e51e034631a9 [file] [log] [blame]
Argyrios Kyrtzidis9d50c062010-08-09 10:54:20 +00001// Test this without pch.
2// RUN: %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: %clang_cc1 -include-pch %t -verify %s -emit-llvm -o - | FileCheck %s
7
Argyrios Kyrtzidis2f922302010-08-09 10:54:37 +00008// CHECK: [C position]
9// CHECK: call void @_ZN1SC1ERKS_
10
11// CHECK: [C setPosition:]
12// CHECK: call %struct.S* @_ZN1SaSERKS_
13
Argyrios Kyrtzidis9d50c062010-08-09 10:54:20 +000014// CHECK: [C .cxx_destruct]
15// CHECK: [C .cxx_construct]