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