blob: 065c73e93908d97215abda24aba1ac77f768be80 [file] [log] [blame]
Reid Spencer5f016e22007-07-11 17:01:13 +00001// RUN: clang -E %s | grep '+ + - - + + = = =' &&
2// RUN: clang -E %s | not grep -F '...'
Chris Lattnerb1a17ae2008-01-15 05:22:14 +00003// RUN: clang -E %s | not grep -F 'L"str"'
Reid Spencer5f016e22007-07-11 17:01:13 +00004
5// This should print as ".. ." to avoid turning into ...
6#define y(a) ..a
7y(.)
8
9#define PLUS +
10#define EMPTY
11#define f(x) =x=
12+PLUS -EMPTY- PLUS+ f(=)
13
Chris Lattnerb1a17ae2008-01-15 05:22:14 +000014
15// Should expand to L "str" not L"str"
16#define test(x) L#x
17test(str)
18