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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [20000209-2.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-Wall" } */
3
/* Distilled from glibc sources.  Tests preprocessor corner cases.
4
   Since it uses rest args, we must turn off -pedantic-errors.  */
5
 
6
#define NO_PAREN(rest...) rest
7
#define DEFINE_CATEGORY(category, items) \
8
const int _nl_value_type_##category[] = { NO_PAREN items }
9
 
10
DEFINE_CATEGORY
11
(
12
 LC_COLLATE,
13
 (
14
   1,
15
   2,
16
   3,
17
  ));
18
 
19
DEFINE_CATEGORY(LC_CTYPE, (1, 2, 3));

powered by: WebSVN 2.1.0

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