Files
clang-p2996/clang/test/Preprocessor/output_paste_avoid.c
Chris Lattner 341c9a1615 new testcase for paste avoidance
llvm-svn: 38765
2006-07-28 06:54:07 +00:00

13 lines
243 B
C

// 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(=)