]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Modules/Inputs/invalidate-identifiers/a.h
Vendor import of clang trunk r238337:
[FreeBSD/FreeBSD.git] / test / Modules / Inputs / invalidate-identifiers / a.h
1 // Ensure that loading 'i' introduces enough identifiers to cause the
2 // identifier table to be reallocated.
3 #define TYPEDEFS(x) typedef x##0 x; typedef x##1 x;
4 #define DEPTH_0(x) DEPTH_1(x##0) DEPTH_1(x##1) TYPEDEFS(x)
5 #define DEPTH_1(x) DEPTH_2(x##0) DEPTH_2(x##1) TYPEDEFS(x)
6 #define DEPTH_2(x) DEPTH_3(x##0) DEPTH_3(x##1) TYPEDEFS(x)
7 #define DEPTH_3(x) DEPTH_4(x##0) DEPTH_4(x##1) TYPEDEFS(x)
8 #define DEPTH_4(x) DEPTH_5(x##0) DEPTH_5(x##1) TYPEDEFS(x)
9 #define DEPTH_5(x) DEPTH_6(x##0) DEPTH_6(x##1) TYPEDEFS(x)
10 #define DEPTH_6(x) DEPTH_7(x##0) DEPTH_7(x##1) TYPEDEFS(x)
11 #define DEPTH_7(x) DEPTH_8(x##0) DEPTH_8(x##1) TYPEDEFS(x)
12 #define DEPTH_8(x) DEPTH_9(x##0) DEPTH_9(x##1) TYPEDEFS(x)
13 #define DEPTH_9(x) DEPTH_A(x##0) DEPTH_A(x##1) TYPEDEFS(x)
14 #define DEPTH_A(x) DEPTH_B(x##0) DEPTH_B(x##1) TYPEDEFS(x)
15 #define DEPTH_B(x) typedef int x;
16 DEPTH_0(i)
17 extern i v;