hanchenye-llvm-project/clang/test/Preprocessor/macro_disable3.c

11 lines
187 B
C
Raw Normal View History

// RUN: clang-cc %s -E | FileCheck -strict-whitespace %s
2006-07-27 14:17:55 +08:00
// Check for C99 6.10.3.4p2.
#define f(a) f(x * (a))
#define x 2
#define z z[0]
f(f(z));
// CHECK: f(2 * (f(2 * (z[0]))));