Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/concat2.c @ 138:fc828634a951
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 08 Nov 2018 14:17:14 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
line wrap: on
line source
/* PR c/3581 */ /* { dg-do compile } */ /* { dg-options "" } */ /* Intended as a compile-time test for string literal concatenation. The fact that the string isn't actually used in the resulting program should allow this to compile for any target. */ #define e0 "a" #define e1 e0 e0 e0 e0 e0 e0 e0 e0 e0 e0 #define e2 e1 e1 e1 e1 e1 e1 e1 e1 e1 e1 #define e3 e2 e2 e2 e2 e2 e2 e2 e2 e2 e2 #define e4 e3 e3 e3 e3 e3 e3 e3 e3 e3 e3 #define e5 e4 e4 e4 e4 e4 e4 e4 e4 e4 e4 void foo() { (void)(e5); }