aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/macro_disable3.c
blob: d4a5664ae9998f1d0c1e578ef4115205ca4cf24c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// 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]))));