[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / PCH / multiple-include-pch.c
blob1e07b4f5ebce614ad44ca24dac1588c3e5db1c19
1 // RUN: %clang_cc1 -emit-pch -o %t1.pch %s
2 // RUN: %clang_cc1 -emit-pch -o %t2.pch %s
3 // RUN: %clang_cc1 %s -include-pch %t1.pch -include-pch %t2.pch -verify
5 #ifndef HEADER
6 #define HEADER
8 extern int x;
10 #else
12 #warning parsed this
13 // expected-warning@-1 {{parsed this}}
14 int foo(void) {
15 return x;
18 #endif