Skip to content

Commit 1f6d35b

Browse files
AaronBallmantru
authored andcommitted
Fix tests for c23 <-> c2x
1 parent 030d68e commit 1f6d35b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/CodeGen/thread_local.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple i686-pc-linux-gnu -std=c23 -emit-llvm -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -triple i686-pc-linux-gnu -std=c2x -emit-llvm -o - %s | FileCheck %s
22

33
// Ensure that thread_local and _Thread_local emit the same codegen. See
44
// https://github.com/llvm/llvm-project/issues/70068 for details.

clang/test/Sema/thread_local.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fsyntax-only -std=c23 %s -verify
1+
// RUN: %clang_cc1 -fsyntax-only -std=c2x %s -verify
22

33
// Ensure that thread_local and _Thread_local are synonyms in C23 and both
44
// restrict local variables to be explicitly static or extern.

0 commit comments

Comments
 (0)