summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/macro_fn_disable_expand.c
blob: c3b067dfc96561cc0a8966d94b811dc29b60ee5a (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: clang-cc %s -E | grep 'bar foo (2)'
// RUN: clang-cc %s -E | grep 'm(ABCD)'

#define foo(x) bar x
foo(foo) (2)


#define m(a) a(w)
#define w ABCD
m(m)   // m(ABCD)

OpenPOWER on IntegriCloud