summaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/ifdef-recover.c
blob: 51d06d1f1b6ebbc749b22574ff894fc18e73c23f (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* RUN: %clang_cc1 -E %s 2>&1 >/dev/null | grep error: | count 3
 */

#ifdef

#endif

/* End of function-like macro invocation in #ifdef */
/* PR1936 */
#define f(x) x
#if f(2
#endif

int x;