aboutsummaryrefslogtreecommitdiff
path: root/test/Misc/wrong-encoding.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Misc/wrong-encoding.c')
-rw-r--r--test/Misc/wrong-encoding.c4
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