about summary refs log tree commit diff homepage
path: root/test/Feature/ubsan/ubsan_unsigned_shift_base.c
diff options
context:
space:
mode:
authorPavel <operasfantom@gmail.com>2022-07-10 18:05:23 +0400
committerCristian Cadar <c.cadar@imperial.ac.uk>2022-09-14 20:40:10 +0100
commit8ecf071992adab8b8c5593faab7338d16b15f364 (patch)
treee4148cb20ec7a99591fe738c938f1f5956c8f304 /test/Feature/ubsan/ubsan_unsigned_shift_base.c
parent9b08202f12b039d8f39dfead004eabbf7361a028 (diff)
downloadklee-8ecf071992adab8b8c5593faab7338d16b15f364.tar.gz
Improve pattern for FileCheck in UBSan's tests
Diffstat (limited to 'test/Feature/ubsan/ubsan_unsigned_shift_base.c')
-rw-r--r--test/Feature/ubsan/ubsan_unsigned_shift_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Feature/ubsan/ubsan_unsigned_shift_base.c b/test/Feature/ubsan/ubsan_unsigned_shift_base.c
index 92c61353..932c8208 100644
--- a/test/Feature/ubsan/ubsan_unsigned_shift_base.c
+++ b/test/Feature/ubsan/ubsan_unsigned_shift_base.c
@@ -9,7 +9,7 @@
 #include "klee/klee.h"
 
 int lsh_overflow(unsigned int a, unsigned int b) {
-  // CHECK: runtime/Sanitizer/ubsan/ubsan_handlers.cpp:35: shift out of bounds
+  // CHECK: KLEE: ERROR: {{.*}}runtime/Sanitizer/ubsan/ubsan_handlers.cpp:34: shift out of bounds
   return a << b;
 }