diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-06-17 13:29:05 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-06-17 13:30:10 +0100 |
commit | 0f96ac43fa0a5fdbfce317b274233852d5b46d23 (patch) | |
tree | d5875ed723f3c0d1e003f29a4e9043d21d7665c5 /libstdc++-v3/testsuite/21_strings | |
parent | c524d860a780993de09c5de04cb63edf87bf9e75 (diff) | |
download | gcc-0f96ac43fa0a5fdbfce317b274233852d5b46d23.zip gcc-0f96ac43fa0a5fdbfce317b274233852d5b46d23.tar.gz gcc-0f96ac43fa0a5fdbfce317b274233852d5b46d23.tar.bz2 |
libstdc++: Add missing #include <string> to new test
Somehow I pushed a different version of this test to the one I actually
tested.
libstdc++-v3/ChangeLog:
* testsuite/21_strings/basic_string/cons/char/105995.cc: Add
missing #include.
Diffstat (limited to 'libstdc++-v3/testsuite/21_strings')
-rw-r--r-- | libstdc++-v3/testsuite/21_strings/basic_string/cons/char/105995.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/105995.cc b/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/105995.cc index aa8bcba..4764cef 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/105995.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/cons/char/105995.cc @@ -2,6 +2,8 @@ // { dg-do compile { target c++20 } } // { dg-require-effective-target cxx11_abi } +#include <string> + // PR libstdc++/105995 // Not required by the standard, but supported for QoI. constexpr std::string pr105995_empty; |