Skip to content

Commit 4098e98

Browse files
Fix broken unit tests added in cherry pick of D157757
c23 is still c2x on stable/20230725 rdar://116859121
1 parent 309e169 commit 4098e98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/Headers/stddef.c

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

55
struct astruct { char member; };
66

clang/test/Headers/stddefneeds.c

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

44
// Use C99 to verify that __need_ can be used to get types that wouldn't normally be available.
55

0 commit comments

Comments
 (0)