diff --git a/clang/test/CodeGen/thread_local.c b/clang/test/CodeGen/thread_local.c index b97f31c2fff2f..2f017c583fc47 100644 --- a/clang/test/CodeGen/thread_local.c +++ b/clang/test/CodeGen/thread_local.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple i686-pc-linux-gnu -std=c23 -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple i686-pc-linux-gnu -std=c2x -emit-llvm -o - %s | FileCheck %s // Ensure that thread_local and _Thread_local emit the same codegen. See // https://github.com/llvm/llvm-project/issues/70068 for details. diff --git a/clang/test/Sema/thread_local.c b/clang/test/Sema/thread_local.c index a0de0aa4e39a6..34e994fe9c548 100644 --- a/clang/test/Sema/thread_local.c +++ b/clang/test/Sema/thread_local.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -std=c23 %s -verify +// RUN: %clang_cc1 -fsyntax-only -std=c2x %s -verify // Ensure that thread_local and _Thread_local are synonyms in C23 and both // restrict local variables to be explicitly static or extern.