summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/genex_test.cpp
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2020-12-04 15:46:07 (GMT)
committerRaul Tambre <raul@tambre.ee>2020-12-08 16:43:59 (GMT)
commit9f3c70a333f076aca61affff189232edaba89c38 (patch)
tree3a484b6802c039c2ec1922f95c5dee50d8fccd65 /Tests/CompileFeatures/genex_test.cpp
parentaf7e1545c8219c6eebaff6272955e8cd99d175a5 (diff)
downloadCMake-9f3c70a333f076aca61affff189232edaba89c38.zip
CMake-9f3c70a333f076aca61affff189232edaba89c38.tar.gz
CMake-9f3c70a333f076aca61affff189232edaba89c38.tar.bz2
CUDA, CXX, OBJCXX: C++23 support with Clang 12
Clang 12 landed initial support for C++23 language mode flag -std={c|gnu}++2b in commit 6627a3c2873fdf7ccba1a1573371079be48b36e8.
Diffstat (limited to 'Tests/CompileFeatures/genex_test.cpp')
-rw-r--r--Tests/CompileFeatures/genex_test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/genex_test.cpp b/Tests/CompileFeatures/genex_test.cpp
index 53dce62..9c3910e 100644
--- a/Tests/CompileFeatures/genex_test.cpp
+++ b/Tests/CompileFeatures/genex_test.cpp
@@ -21,6 +21,12 @@
# if HAVE_CXX_STD_17 && !defined(ALLOW_LATER_STANDARDS)
# error HAVE_CXX_STD_17 is true with CXX_STANDARD == 11
# endif
+# if HAVE_CXX_STD_20 && !defined(ALLOW_LATER_STANDARDS)
+# error HAVE_CXX_STD_20 is true with CXX_STANDARD == 11
+# endif
+# if HAVE_CXX_STD_23 && !defined(ALLOW_LATER_STANDARDS)
+# error HAVE_CXX_STD_23 is true with CXX_STANDARD == 11
+# endif
#endif
#if !HAVE_OVERRIDE_CONTROL