
Previously, we reported the same value as for C17, now we report 202000L, which is the same value currently used by GCC. Once C23 ships, this value will be bumped to the correct date.
6 lines
204 B
C
6 lines
204 B
C
// RUN: %clang_cc1 -fsyntax-only -verify -std=c2x %s
|
|
// expected-no-diagnostics
|
|
|
|
// FIXME: Test the correct value once C23 ships.
|
|
_Static_assert(__STDC_VERSION__ > 201710L, "Incorrect __STDC_VERSION__");
|