new testcase for paste avoidance

llvm-svn: 38765
This commit is contained in:
Chris Lattner 2006-07-28 06:54:07 +00:00
parent 24fad1a82f
commit 341c9a1615
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,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(=)