URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Regression test for preprocessor crash.
|
/* Regression test for preprocessor crash.
|
Reported by Mathias Froehlich <frohlich@na.uni-tuebingen.de>. */
|
Reported by Mathias Froehlich <frohlich@na.uni-tuebingen.de>. */
|
/* { dg-do preprocess } */
|
/* { dg-do preprocess } */
|
#define foo
|
#define foo
|
|
|
#define __CAT__(a,b,c,d) a##b##c##d
|
#define __CAT__(a,b,c,d) a##b##c##d
|
#define CAT(a,b,c,d) __CAT__(a,b,c,d)
|
#define CAT(a,b,c,d) __CAT__(a,b,c,d)
|
|
|
#define bar CAT(,foo,bar,)
|
#define bar CAT(,foo,bar,)
|
bar
|
bar
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.