summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/pr35313.c
blob: e12636e0b708678b4e7a10636bb432968235be29 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Test two failing cases for libcpp parser.  From PRs 35313, 36088*/
/* { dg-do preprocess } */
/* { dg-options "-std=c99 -pedantic-errors" } */

extern int x;

#if 0 ? 3,4 : 2
#endif

#if 1 ? 0 : 1 ? 1/0 : 1/0
#endif