xref: /llvm-project/clang/test/Preprocessor/c2x.c (revision 13629b140801870feff855ca168edf6b34dbef8d)
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c2x %s
2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c23 %s
3 // expected-no-diagnostics
4 
5 _Static_assert(__STDC_VERSION__ == 202311L, "Incorrect __STDC_VERSION__");
6