URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-Wall" } */
|
/* { dg-options "-Wall" } */
|
/* Distilled from glibc sources. Tests preprocessor corner cases.
|
/* Distilled from glibc sources. Tests preprocessor corner cases.
|
Since it uses rest args, we must turn off -pedantic-errors. */
|
Since it uses rest args, we must turn off -pedantic-errors. */
|
|
|
#define NO_PAREN(rest...) rest
|
#define NO_PAREN(rest...) rest
|
#define DEFINE_CATEGORY(category, items) \
|
#define DEFINE_CATEGORY(category, items) \
|
const int _nl_value_type_##category[] = { NO_PAREN items }
|
const int _nl_value_type_##category[] = { NO_PAREN items }
|
|
|
DEFINE_CATEGORY
|
DEFINE_CATEGORY
|
(
|
(
|
LC_COLLATE,
|
LC_COLLATE,
|
(
|
(
|
1,
|
1,
|
2,
|
2,
|
3,
|
3,
|
));
|
));
|
|
|
DEFINE_CATEGORY(LC_CTYPE, (1, 2, 3));
|
DEFINE_CATEGORY(LC_CTYPE, (1, 2, 3));
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.