summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/default_dialect.c
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2021-02-06 16:59:23 (GMT)
committerRaul Tambre <raul@tambre.ee>2021-02-25 16:22:10 (GMT)
commitdcd599757f215fa8eba3b5e40d4b1c52eb5b3919 (patch)
tree0ac036cb48e1916e08ebd5d50a9828732c056da9 /Tests/CompileFeatures/default_dialect.c
parent93b7d3d29221f98388c7fa20568cd0b769a26774 (diff)
downloadCMake-dcd599757f215fa8eba3b5e40d4b1c52eb5b3919.zip
CMake-dcd599757f215fa8eba3b5e40d4b1c52eb5b3919.tar.gz
CMake-dcd599757f215fa8eba3b5e40d4b1c52eb5b3919.tar.bz2
C23 support
Diffstat (limited to 'Tests/CompileFeatures/default_dialect.c')
-rw-r--r--Tests/CompileFeatures/default_dialect.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/default_dialect.c b/Tests/CompileFeatures/default_dialect.c
index e090067..b990e53 100644
--- a/Tests/CompileFeatures/default_dialect.c
+++ b/Tests/CompileFeatures/default_dialect.c
@@ -1,5 +1,9 @@
-#if DEFAULT_C17
+#if DEFAULT_C23
+# if __STDC_VERSION__ <= 201710L
+# error Unexpected value for __STDC_VERSION__.
+# endif
+#elif DEFAULT_C17
# if __STDC_VERSION__ < 201710L
# error Unexpected value for __STDC_VERSION__.
# endif