summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-12-22 04:38:07 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-12-22 04:38:07 +0000
commit8a26c4de64826243b4def56fb09417e40b3ce4cf (patch)
treed490f7fa87ffcf25507987c5bf64a629db3ec229 /clang/test
parent803acb3ff2bb1fe322b530d3bf2db73a5c3eb305 (diff)
downloadbcm5719-llvm-8a26c4de64826243b4def56fb09417e40b3ce4cf.tar.gz
bcm5719-llvm-8a26c4de64826243b4def56fb09417e40b3ce4cf.zip
In Lexer::getCharAndSizeSlow[NoWarn] if we come up against
\<newline><newline> don't consume the second newline. Thanks to David Blaikie for pointing out the crash! llvm-svn: 147138
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Lexer/escape_newline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Lexer/escape_newline.c b/clang/test/Lexer/escape_newline.c
index 5e3002859c6..d0f27dffdf7 100644
--- a/clang/test/Lexer/escape_newline.c
+++ b/clang/test/Lexer/escape_newline.c
@@ -8,3 +8,4 @@
>
// \
+
OpenPOWER on IntegriCloud