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