6 lines · c
1// RUN: %clang_cc1 -fsyntax-only -verify -std=c2x %s2// RUN: %clang_cc1 -fsyntax-only -verify -std=c23 %s3// expected-no-diagnostics4 5_Static_assert(__STDC_VERSION__ == 202311L, "Incorrect __STDC_VERSION__");6 1// RUN: %clang_cc1 -fsyntax-only -verify -std=c2x %s2// RUN: %clang_cc1 -fsyntax-only -verify -std=c23 %s3// expected-no-diagnostics4 5_Static_assert(__STDC_VERSION__ == 202311L, "Incorrect __STDC_VERSION__");6