blob: 3fffcc0290dec43ad306b91501d966852c6195c1 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001/* RUN: clang-cc -E %s 2>&1 >/dev/null | grep error: | count 3
Chris Lattnerf37bb252007-09-24 05:14:57 +00002 */
3
4#ifdef
5
6#endif
7
Chris Lattnerc21d9e42008-01-22 19:34:51 +00008/* End of function-like macro invocation in #ifdef */
9/* PR1936 */
10#define f(x) x
11#if f(2
12#endif
13
14int x;
15