mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-20 01:25:03 +08:00
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.
This commit is contained in:
parent
c644b7df11
commit
67ded3a1f5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user