diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-02-24 20:50:36 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-02-24 20:50:36 +0000 |
commit | d55429f14a23e27dda52d2688e8432ae0525bc21 (patch) | |
tree | 9d52ff31c2680c3de02e35d26736975dc64d8b7a /test/Preprocessor/macro_expand_empty.c | |
parent | 413d8a21001c5f37bcf82f91e405a3513796ad7e (diff) | |
download | clang-d55429f14a23e27dda52d2688e8432ae0525bc21.tar.gz |
If preprocessing results in a token with leading whitespace that was expanded
from a macro in column 0, ensure that we print whitespace before it in the -E
output. Patch by Harald van Dijk!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/macro_expand_empty.c')
-rw-r--r-- | test/Preprocessor/macro_expand_empty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Preprocessor/macro_expand_empty.c b/test/Preprocessor/macro_expand_empty.c index c3fc4f2964..5507728881 100644 --- a/test/Preprocessor/macro_expand_empty.c +++ b/test/Preprocessor/macro_expand_empty.c @@ -17,5 +17,5 @@ IDENTITY0() #define FOO() BAR() second #define BAR() first // CHECK: {{^}}first{{$}} -FOO() // CHECK: second +FOO() // CHECK: {{^}} second{{$}} third // CHECK: {{^}}third{{$}} |