llvm-project/clang/test/Preprocessor/c2x.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
204 B
C
Raw Normal View History

// 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__");