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