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-08-06 16:14:47 +0400
committerCristian Cadar <c.cadar@imperial.ac.uk>2022-09-14 20:40:10 +0100
commit13564199937f2382ae3b0f585e4b876449e6d5c9 (patch)
tree34db09169c5493876b60b552f40bb1b669081ee8 /test/Feature/ubsan/ubsan_unsigned_shift_base.c
parent8ecf071992adab8b8c5593faab7338d16b15f364 (diff)
downloadklee-13564199937f2382ae3b0f585e4b876449e6d5c9.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 932c8208..a591bff0 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: KLEE: ERROR: {{.*}}runtime/Sanitizer/ubsan/ubsan_handlers.cpp:34: shift out of bounds
+  // CHECK: KLEE: ERROR: {{.*}}runtime/Sanitizer/ubsan/ubsan_handlers.cpp:{{[0-9]+}}: shift out of bounds
   return a << b;
 }