aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/testsuite/gcc.dg/cpp/pr22168.c
blob: fecb972f7661edfbd39335d13159d89bae36125c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Copyright (C) 2008 Free Software Foundation, Inc.  */
/* PR preprocessor/22168 */

/* { dg-do preprocess }
   { dg-options -pedantic } */
#if #foo(bar)    /* { dg-warning "GCC extension" } */
int x;
#else
int y;
#endif
#assert zzz(a)   /* { dg-warning "GCC extension" } */
#unassert yyy    /* { dg-warning "GCC extension" } */