[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / PCH / pch-through4a.cpp
blobc13edf53823ff28a73fbf9094044e987eec351a3
1 // expected-no-diagnostics
2 // Create PCH with a through header.
3 // RUN: %clang_cc1 -verify -I %S -emit-pch \
4 // RUN: -pch-through-header=Inputs/pch-through1.h \
5 // RUN: -fms-extensions -o %t.pch -x c++-header %s
7 // Create the PCH object
8 // RUN: %clang_cc1 -verify -I %S -emit-obj -include-pch %t.pch \
9 // RUN: -pch-through-header=Inputs/pch-through1.h \
10 // RUN: -fms-extensions -o %t.obj -x c++ %s
12 #define Source(x,y)
13 #define InOut(size) Source(InOut, (size))
14 void f(InOut(a) char *b, unsigned long a);
15 #include "Inputs/pch-through1.h"
16 int other;