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 | 82c6dc72adc30e785ce5bc6e8b43ae92070d2e08 (patch) | |
tree | e096c14e70f29d9677c92f99111a6dd0b0b72bf5 /test/Misc/wrong-encoding.c | |
parent | b3fa55f18d7b3759b3a6547719cf5b3418370a96 (diff) |
Handle string encoding diagnostics when there are too many invalid ranges.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Misc/wrong-encoding.c')
-rw-r--r-- | test/Misc/wrong-encoding.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Misc/wrong-encoding.c b/test/Misc/wrong-encoding.c index db37af9d2b..1f186b7939 100644 --- a/test/Misc/wrong-encoding.c +++ b/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 |