summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/macro_fn_disable_expand.c
blob: d99c01832eace0a414b2df17740671573526b68c (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