summaryrefslogtreecommitdiff
path: root/test/Preprocessor/ifdef-recover.c
blob: bd1d507bbc49417addc50da76dbad23334637288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* RUN: clang %s 2>&1 | 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;