]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Add missing #include <string> to new test
authorJonathan Wakely <jwakely@redhat.com>
Fri, 17 Jun 2022 12:29:05 +0000 (13:29 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 17 Jun 2022 12:30:10 +0000 (13:30 +0100)
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.

libstdc++-v3/testsuite/21_strings/basic_string/cons/char/105995.cc

index aa8bcba3dca946f62929e9f95bfe6af67dabeee7..4764ceff72a284262903ef532452eebfeb6715cb 100644 (file)
@@ -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;