blob: 821495747d46e170a8b555ee3a9131d5a731933b [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]
Eli Friedman2e283f02011-06-06 21:23:05 +00009// CHECK: call {{.*}} @_ZN1SC1ERKS_
Argyrios Kyrtzidis2f922302010-08-09 10:54:37 +000010
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]