[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / PCH / variables.h
blob23d2cd30cceba683c1238bf0065780df336c5092
1 // RUN: %clang_cc1 -emit-pch -o variables.h.pch variables.h
2 // Do not mess with the whitespace in this file. It's important.
7 extern float y;
8 extern int *ip, x;
10 float z;
12 int z2 = 17;
14 #define MAKE_HAPPY(X) X##Happy
15 int MAKE_HAPPY(Very);
17 #define A_MACRO_IN_THE_PCH 492
18 #define FUNCLIKE_MACRO(X, Y) X ## Y
20 #define PASTE2(x,y) x##y
21 #define PASTE1(x,y) PASTE2(x,y)
22 #define UNIQUE(x) PASTE1(x,__COUNTER__)
24 int UNIQUE(a); // a0
25 int UNIQUE(a); // a1