aboutsummaryrefslogtreecommitdiff
path: root/test/msan/wcsncpy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/msan/wcsncpy.cc')
-rw-r--r--test/msan/wcsncpy.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/msan/wcsncpy.cc b/test/msan/wcsncpy.cc
index f582c37b7aab..6471371de980 100644
--- a/test/msan/wcsncpy.cc
+++ b/test/msan/wcsncpy.cc
@@ -1,6 +1,8 @@
// RUN: %clangxx_msan -fsanitize-memory-track-origins -O0 %s -o %t && not %run %t >%t.out 2>&1
// RUN: FileCheck %s < %t.out && FileCheck %s < %t.out
+// XFAIL: mips
+
#include <assert.h>
#include <wchar.h>
@@ -27,12 +29,12 @@ int main() {
}
// CHECK: Uninitialized bytes in __msan_check_mem_is_initialized
// CHECK: WARNING: MemorySanitizer: use-of-uninitialized-value
-// CHECK: in main {{.*}}wcsncpy.cc:26
+// CHECK: in main {{.*}}wcsncpy.cc:28
// CHECK: Uninitialized value was stored to memory at
// CHECK: in {{[^\s]*}}wcsncpy
-// CHECK: in main {{.*}}wcsncpy.cc:25
+// CHECK: in main {{.*}}wcsncpy.cc:27
// CHECK: Memory was marked as uninitialized
// CHECK: in __msan_allocated_memory
-// CHECK: in main {{.*}}wcsncpy.cc:23
+// CHECK: in main {{.*}}wcsncpy.cc:25