We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 395900d commit 50fe929Copy full SHA for 50fe929
llvm/test/Regression/CFrontend/2004-08-06-LargeStructTest.c
@@ -0,0 +1,17 @@
1
+
2
+#define A(X) int X;
3
+#define B(X) A(X##0) A(X##1) A(X##2) A(X##3) A(X##4) A(X##5) A(X##6) A(X##7) \
4
+ A(X##8) A(X##9) A(X##A) A(X##B) A(X##C) A(X##D) A(X##E) A(X##F)
5
+#define C(X) B(X##0) B(X##1) B(X##2) B(X##3) B(X##4) B(X##5) B(X##6) B(X##7) \
6
+ B(X##8) B(X##9) B(X##A) B(X##B) B(X##C) B(X##D) B(X##E) B(X##F)
7
8
+struct foo {
9
+ C(x); // 256
10
+ C(y); // 256
11
+ C(z);
12
+};
13
14
15
+int test(struct foo *F) {
16
+ return F->xA1 + F->yFF + F->zC4;
17
+}
0 commit comments