2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / 20000209-2.c
blob6a9198f6496e7c33b8acfa50fb7cff936aeb0d27
1 /* { 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. */
6 #define NO_PAREN(rest...) rest
7 #define DEFINE_CATEGORY(category, items) \
8 const int _nl_value_type_##category[] = { NO_PAREN items }
10 DEFINE_CATEGORY
12 LC_COLLATE,
17 ));
19 DEFINE_CATEGORY(LC_CTYPE, (1, 2, 3));