We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 329d997 commit 3c1040dCopy full SHA for 3c1040d
clang/test/Preprocessor/c2y.c
@@ -0,0 +1,6 @@
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
0 commit comments