Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | /* RUN: clang-cc -E %s 2>&1 >/dev/null | grep error: | count 3 |
Chris Lattner | f37bb25 | 2007-09-24 05:14:57 +0000 | [diff] [blame] | 2 | */ |
3 | |||||
4 | #ifdef | ||||
5 | |||||
6 | #endif | ||||
7 | |||||
Chris Lattner | c21d9e4 | 2008-01-22 19:34:51 +0000 | [diff] [blame] | 8 | /* End of function-like macro invocation in #ifdef */ |
9 | /* PR1936 */ | ||||
10 | #define f(x) x | ||||
11 | #if f(2 | ||||
12 | #endif | ||||
13 | |||||
14 | int x; | ||||
15 |