summaryrefslogtreecommitdiff
path: root/test/Preprocessor/macro_disable3.c
blob: b358a556775e4d34cd78a5725f95c1c8dfd3795b (plain)
1
2
3
4
5
6
7
8
// RUN: clang %s -E | grep -F 'f(2 * (f(2 * (z[0]))));'
// Check for C99 6.10.3.4p2.

#define f(a) f(x * (a)) 
#define x 2 
#define z z[0] 
f(f(z));