Sign in
llvm
/
llvm-project
/
refs/heads/main
/
.
/
clang
/
test
/
Preprocessor
/
c2x.c
blob: d137d58f815bddc093cecda23d28b148a6efed84 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify -std=c2x %s
// RUN: %clang_cc1 -fsyntax-only -verify -std=c23 %s
// expected-no-diagnostics
_Static_assert
(
__STDC_VERSION__
==
202311L
,
"Incorrect __STDC_VERSION__"
);