diff --git a/compiler-rt/test/sanitizer_common/TestCases/scanf.c b/compiler-rt/test/sanitizer_common/TestCases/scanf.c index a7f35c2af57eea..a42d9f72a71d92 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/scanf.c +++ b/compiler-rt/test/sanitizer_common/TestCases/scanf.c @@ -1,6 +1,6 @@ // RUN: %clang -std=c17 %s -o %t && %run %t /// Test __isoc23_* for glibc 2.38+. -// RUN: %clang -std=c23 %s -o %t && %run %t +// RUN: %clang -std=c2x %s -o %t && %run %t #include #include diff --git a/compiler-rt/test/sanitizer_common/TestCases/strtol.c b/compiler-rt/test/sanitizer_common/TestCases/strtol.c index 9947cdeacd8c31..c3de9bcb7aa040 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/strtol.c +++ b/compiler-rt/test/sanitizer_common/TestCases/strtol.c @@ -1,6 +1,6 @@ // RUN: %clang -std=c17 %s -o %t && %run %t /// Test __isoc23_* for glibc 2.38+. -// RUN: %clang -std=c23 %s -o %t && %run %t +// RUN: %clang -std=c2x %s -o %t && %run %t #include #include