2008-03-21 15:02:04 +08:00
|
|
|
/* RUN: clang -E %s 2>&1 >/dev/null | grep error: | count 3
|
2007-09-24 13:14:57 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2008-01-23 03:34:51 +08:00
|
|
|
/* End of function-like macro invocation in #ifdef */
|
|
|
|
/* PR1936 */
|
|
|
|
#define f(x) x
|
|
|
|
#if f(2
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int x;
|
|
|
|
|