libstdc++: Fix FAIL: 20_util/temporary_buffer.cc for C++14
authorJonathan Wakely <jwakely@redhat.com>
Thu, 10 Feb 2022 17:34:58 +0000 (17:34 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 11 Feb 2022 21:42:22 +0000 (21:42 +0000)
commit9a56779dbc4e2d9c15be8d31e36f2f59be7331a8
tree721e1804a144ffc120d5a740363328bb22ced0e0
parentb02247346ea7e403d706b9ccabf9078c060adb9e
libstdc++: Fix FAIL: 20_util/temporary_buffer.cc for C++14

The std::get_temporary_buffer function is deprecated since C++17, but
the test was expecting a warning for C++14 as well.

libstdc++-v3/ChangeLog:

* testsuite/20_util/temporary_buffer.cc: Fix dg-warning target
selector.
libstdc++-v3/testsuite/20_util/temporary_buffer.cc