aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/c2x.c
blob: d137d58f815bddc093cecda23d28b148a6efed84 (plain)
1
2
3
4
5
// 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__");