aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/output_paste_avoid.c
blob: 842063a90846c142e0a4543877eadc6df9825e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: clang -E %s | grep '+ + - - + + = = =' &&
// RUN: clang -E %s | not grep -F '...'

// This should print as ".. ." to avoid turning into ...
#define y(a) ..a
y(.)

#define PLUS +
#define EMPTY
#define f(x) =x=
+PLUS -EMPTY- PLUS+ f(=)