Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/cpp/20000209-2.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 (2020-05-25) |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-Wall" } */ /* Distilled from glibc sources. Tests preprocessor corner cases. Since it uses rest args, we must turn off -pedantic-errors. */ #define NO_PAREN(rest...) rest #define DEFINE_CATEGORY(category, items) \ const int _nl_value_type_##category[] = { NO_PAREN items } DEFINE_CATEGORY ( LC_COLLATE, ( 1, 2, 3, )); DEFINE_CATEGORY(LC_CTYPE, (1, 2, 3));