diff options
author | CVS to SVN Conversion <nobody@llvm.org> | 2004-08-06 19:57:05 +0000 |
---|---|---|
committer | CVS to SVN Conversion <nobody@llvm.org> | 2004-08-06 19:57:05 +0000 |
commit | 50fe9297bab0e6d28355ac1ea3867f10d1d5e686 (patch) | |
tree | 00f42379cdbffa6c8d07439d0cf7fa71907d20da | |
parent | 395900dcf5e5ac439df34d40fe44a309151896c8 (diff) | |
download | llvm-50fe9297bab0e6d28355ac1ea3867f10d1d5e686.zip llvm-50fe9297bab0e6d28355ac1ea3867f10d1d5e686.tar.gz llvm-50fe9297bab0e6d28355ac1ea3867f10d1d5e686.tar.bz2 |
This commit was manufactured by cvs2svn to create branch 'release_13'.
llvm-svn: 15556
-rw-r--r-- | llvm/test/Regression/CFrontend/2004-08-06-LargeStructTest.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/llvm/test/Regression/CFrontend/2004-08-06-LargeStructTest.c b/llvm/test/Regression/CFrontend/2004-08-06-LargeStructTest.c new file mode 100644 index 0000000..a0b1b09 --- /dev/null +++ b/llvm/test/Regression/CFrontend/2004-08-06-LargeStructTest.c @@ -0,0 +1,17 @@ + +#define A(X) int X; +#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) \ + A(X##8) A(X##9) A(X##A) A(X##B) A(X##C) A(X##D) A(X##E) A(X##F) +#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) \ + B(X##8) B(X##9) B(X##A) B(X##B) B(X##C) B(X##D) B(X##E) B(X##F) + +struct foo { + C(x); // 256 + C(y); // 256 + C(z); +}; + + +int test(struct foo *F) { + return F->xA1 + F->yFF + F->zC4; +} |