diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C b/gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C index b80cc342364..8e1ea48bb1d 100644 --- a/gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C +++ b/gcc/testsuite/g++.dg/cpp2a/feat-cxx2a.C @@ -471,3 +471,11 @@ #else # error "__has_cpp_attribute" #endif + +// C++2A features: + +#ifndef __cpp_char8_t +# error "__cpp_char8_t" +#elif __cpp_char8_t != 201811 +# error "__cpp_char8_t != 201811" +#endif |