diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-04-20 13:50:14 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-04-20 13:54:57 +0100 |
commit | 67ded3a1f5b667b4cb5eb2fee8a031e8e4060a7d (patch) | |
tree | 595581bcef69875f5923e5eba0e5300ba263c6a2 | |
parent | c644b7df11afc818d6308c3776813e50e4ebe551 (diff) | |
download | gcc-67ded3a1f5b667b4cb5eb2fee8a031e8e4060a7d.zip gcc-67ded3a1f5b667b4cb5eb2fee8a031e8e4060a7d.tar.gz gcc-67ded3a1f5b667b4cb5eb2fee8a031e8e4060a7d.tar.bz2 |
libstdc++: Fix macro checked by test
The macro being tested here is wrong, but just happens to have the same
value as the one supposed to be tests.
libstdc++-v3/ChangeLog:
* testsuite/21_strings/basic_string_view/operations/copy/char/constexpr.cc:
Check correct feature test macro.
-rw-r--r-- | libstdc++-v3/testsuite/21_strings/basic_string_view/operations/copy/char/constexpr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/copy/char/constexpr.cc b/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/copy/char/constexpr.cc index 28f8ae8..2705098 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/copy/char/constexpr.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/copy/char/constexpr.cc @@ -22,7 +22,7 @@ #ifndef __cpp_lib_constexpr_string_view # error "Feature test macro for constexpr copy is missing in <string_view>" -#elif __cpp_lib_constexpr_iterator < 201811L +#elif __cpp_lib_constexpr_string_view < 201811L # error "Feature test macro for constexpr copy has wrong value in <string_view>" #endif |