diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-10-30 23:22:22 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-10-30 23:22:22 +0000 |
commit | a0613170b41e78692711f7fc5528b85386a88ffc (patch) | |
tree | 8196d698597fe654e3d1fd9800f7077b28c85cc7 /clang/test/Misc/wrong-encoding.c | |
parent | 2a523d864d387f11430bd6a6354ef14b9f4fd8b6 (diff) | |
download | bcm5719-llvm-a0613170b41e78692711f7fc5528b85386a88ffc.tar.gz bcm5719-llvm-a0613170b41e78692711f7fc5528b85386a88ffc.zip |
Handle string encoding diagnostics when there are too many invalid ranges.
llvm-svn: 167059
Diffstat (limited to 'clang/test/Misc/wrong-encoding.c')
-rw-r--r-- | clang/test/Misc/wrong-encoding.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Misc/wrong-encoding.c b/clang/test/Misc/wrong-encoding.c index db37af9d2b8..1f186b7939b 100644 --- a/clang/test/Misc/wrong-encoding.c +++ b/clang/test/Misc/wrong-encoding.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -Wno-unused-value %s 2>&1 | FileCheck -strict-whitespace %s +// REQUIRES: asserts void foo() { @@ -30,4 +31,7 @@ void foo() { "xxé¿xxxxxxxxxxxxxxxxxxxxxé¿xx"; // CHECK: {{^ "xx<E9><BF>xxxxxxxxxxxxxxxxxxxxx<E9><BF>xx";}} // CHECK: {{^ \^~~~~~~~ ~~~~~~~~}} + + "xé¿xé¿xé¿xé¿xé¿xé¿xé¿xé¿xé¿xé¿xé¿xé¿x"; } +// CHECK-NOT:Assertion |