[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git] / test / PCH / check-deserializations.cpp
blob9f73c95c541e931403d80c0906e7d4a5ce247d6d
1 // RUN: %clang_cc1 -emit-pch -o %t %s
2 // RUN: %clang_cc1 -error-on-deserialized-decl S1_method -include-pch %t -emit-llvm-only %s
4 #ifndef HEADER
5 #define HEADER
6 // Header.
8 struct S1 {
9 void S1_method(); // This should not be deserialized.
10 virtual void S1_keyfunc();
14 #else
15 // Using the header.
17 void test(S1*) {
20 #endif