OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [concat2.c] - Blame information for rev 313

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* PR c/3581 */
2
/* { dg-do compile } */
3
/* { dg-options "" } */
4
 
5
/* Intended as a compile-time test for string literal concatenation.
6
   The fact that the string isn't actually used in the resulting program
7
   should allow this to compile for any target.  */
8
 
9
#define e0      "a"
10
#define e1      e0 e0 e0 e0 e0 e0 e0 e0 e0 e0
11
#define e2      e1 e1 e1 e1 e1 e1 e1 e1 e1 e1
12
#define e3      e2 e2 e2 e2 e2 e2 e2 e2 e2 e2
13
#define e4      e3 e3 e3 e3 e3 e3 e3 e3 e3 e3
14
#define e5      e4 e4 e4 e4 e4 e4 e4 e4 e4 e4
15
 
16
void foo() { (void)(e5); }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.