xref: /llvm-project/clang/test/Preprocessor/c2y.c (revision 0f387ec7d502e51fd5ac074f1f1037b44aa686fc)
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c2y %s
2 // expected-no-diagnostics
3 
4 // FIXME: Set this to test the correct value once that value is set by WG14.
5 static_assert(__STDC_VERSION__ > 202311L, "Incorrect __STDC_VERSION__");
6 
7