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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [20000519-1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Regression test for preprocessor crash.
2
   Reported by Mathias Froehlich <frohlich@na.uni-tuebingen.de>.  */
3
/* { dg-do preprocess } */
4
/* { dg-options "-ansi" } */
5
#define foo
6
 
7
#define __CAT__(a,b,c,d) a##b##c##d
8
#define CAT(a,b,c,d) __CAT__(a,b,c,d)
9
 
10
#define bar CAT(,foo,bar,)
11
bar

powered by: WebSVN 2.1.0

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