about summary refs log tree commit diff homepage
path: root/test/Feature/ubsan/ubsan_enum.cpp
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_enum.cpp
parent8ecf071992adab8b8c5593faab7338d16b15f364 (diff)
downloadklee-13564199937f2382ae3b0f585e4b876449e6d5c9.tar.gz
Improve pattern for FileCheck in UBSan's tests
Diffstat (limited to 'test/Feature/ubsan/ubsan_enum.cpp')
-rw-r--r--test/Feature/ubsan/ubsan_enum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Feature/ubsan/ubsan_enum.cpp b/test/Feature/ubsan/ubsan_enum.cpp
index 462aa21c..18efce2d 100644
--- a/test/Feature/ubsan/ubsan_enum.cpp
+++ b/test/Feature/ubsan/ubsan_enum.cpp
@@ -17,7 +17,7 @@ int main() {
   for (unsigned char *p = (unsigned char *)&e; p != (unsigned char *)(&e + 1); ++p)
     *p = x;
 
-  // CHECK: KLEE: ERROR: {{.*}}runtime/Sanitizer/ubsan/ubsan_handlers.cpp:34: load invalid value
+  // CHECK: KLEE: ERROR: {{.*}}runtime/Sanitizer/ubsan/ubsan_handlers.cpp:{{[0-9]+}}: load invalid value
   result = (int)e != -1;
 
   return 0;