blob: b23d22a7963af5087fb3ac368393db781f1ce6e7 [file] [log] [blame]
// RUN: clang-cc -E %s | grep '+ + - - + + = = =' &&
// RUN: clang-cc -E %s | not grep -F '...' &&
// RUN: clang-cc -E %s | not grep -F 'L"str"'
// 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(=)
// Should expand to L "str" not L"str"
#define test(x) L#x
test(str)