OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.dg/] [parse/] [concat1.C] - Diff between revs 301 and 384

Only display areas with differences | Details | Blame | View Log

Rev 301 Rev 384
/* PR c/3581 */
/* PR c/3581 */
/* { dg-do compile } */
/* { dg-do compile } */
/* Intended as a compile-time test for string literal concatenation.
/* Intended as a compile-time test for string literal concatenation.
   The fact that the string isn't actually used in the resulting program
   The fact that the string isn't actually used in the resulting program
   should allow this to compile for any target.  */
   should allow this to compile for any target.  */
#define e0      "a"
#define e0      "a"
#define e1      e0 e0 e0 e0 e0 e0 e0 e0 e0 e0
#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 e2      e1 e1 e1 e1 e1 e1 e1 e1 e1 e1
#define e3      e2 e2 e2 e2 e2 e2 e2 e2 e2 e2
#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 e4      e3 e3 e3 e3 e3 e3 e3 e3 e3 e3
#define e5      e4 e4 e4 e4 e4 e4 e4 e4 e4 e4
#define e5      e4 e4 e4 e4 e4 e4 e4 e4 e4 e4
void foo() { (void)(e5); }
void foo() { (void)(e5); }
 
 

powered by: WebSVN 2.1.0

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