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

11 lines
187 B
C

// RUN: clang-cc %s -E | FileCheck -strict-whitespace %s
// 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]))));