]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C
Implement P0732R2, class types in non-type template parameters.
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp2a / feat-cxx2a.C
index b97c84c75bb29185698422835dac2b0528b7a665..faed6697382edd4148fab10a9f6e711bd5afde53 100644 (file)
 #  error "__cpp_variadic_using != 201611"
 #endif
 
+// C++20 features
+
+#if __cpp_nontype_template_parameter_class != 201806
+# error "__cpp_nontype_template_parameter_class != 201806"
+#endif
+
 #ifdef __has_cpp_attribute
 
 #  if ! __has_cpp_attribute(maybe_unused)