aboutsummaryrefslogtreecommitdiff
path: root/test/asan/TestCases/strstr-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/strstr-1.c')
-rw-r--r--test/asan/TestCases/strstr-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/strstr-1.c b/test/asan/TestCases/strstr-1.c
index 06a8a8a55d99..319cff546d19 100644
--- a/test/asan/TestCases/strstr-1.c
+++ b/test/asan/TestCases/strstr-1.c
@@ -15,7 +15,7 @@ int main(int argc, char **argv) {
char s1[4] = "acb";
__asan_poison_memory_region ((char *)&s1[2], 2);
r = strstr(s1, s2);
- // CHECK:'s1' <== Memory access at offset {{[0-9]+}} {{partially overflows this variable|is inside this variable}}
+ // CHECK:'s1'{{.*}} <== Memory access at offset {{[0-9]+}} {{partially overflows this variable|is inside this variable}}
assert(r == s1 + 1);
return 0;
}