diff options
author | Alexandre Oliva <oliva@adacore.com> | 2022-05-03 14:57:15 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2022-05-03 14:57:15 -0300 |
commit | 25389f3de489c25a6983db96428a6bf06aedc829 (patch) | |
tree | 3cf65fb525849e888290d2ee1078a66bd113bcae /gcc/objc/objc-next-runtime-abi-02.cc | |
parent | 2680f5eec23805ab8a344f942ca5a7e180d57905 (diff) | |
download | gcc-25389f3de489c25a6983db96428a6bf06aedc829.zip gcc-25389f3de489c25a6983db96428a6bf06aedc829.tar.gz gcc-25389f3de489c25a6983db96428a6bf06aedc829.tar.bz2 |
[PR105324] libstdc++: testsuite: pr105324 requires FP from_char
The floating-point overloads of from_char are only declared if
_GLIBCXX_HAVE_USELOCALE is #defined as nonzero. That's exposed from
charconv as __cpp_lib_to_chars >= 201611L, so guard the test body with
that.
for libstdc++-v3/ChangeLog
PR c++/105324
* testsuite/20_util/from_chars/pr105324.cc: Guard test body
with conditional for floating-point overloads of from_char.
Diffstat (limited to 'gcc/objc/objc-next-runtime-abi-02.cc')
0 files changed, 0 insertions, 0 deletions