URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* Copyright (C) 2000 Free Software Foundation, Inc. */
|
/* Copyright (C) 2000 Free Software Foundation, Inc. */
|
|
|
/* { dg-do preprocess } */
|
/* { dg-do preprocess } */
|
|
|
/* Test source Neil Booth. */
|
/* Test source Neil Booth. */
|
|
|
#define glue(x, y) x ## y
|
#define glue(x, y) x ## y
|
#define xglue(x, y) glue (x, y)
|
#define xglue(x, y) glue (x, y)
|
|
|
/* Should expand to glue (1, 2), then 12. */
|
/* Should expand to glue (1, 2), then 12. */
|
#if glue (xgl, ue) (1, 2) != 12
|
#if glue (xgl, ue) (1, 2) != 12
|
#error glue macro
|
#error glue macro
|
#endif
|
#endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.