aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-07-10 19:43:02 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2017-07-10 19:43:02 +0100
commitb0e90d2acfd63b8cb2fed2385abb5c034fcd7e9a (patch)
tree8dbd568085ce1653319c7aa6347e7554eb34c6c4 /libstdc++-v3
parent387c17d312f76173b9af2717cb89359e09647c28 (diff)
downloadgcc-b0e90d2acfd63b8cb2fed2385abb5c034fcd7e9a.zip
gcc-b0e90d2acfd63b8cb2fed2385abb5c034fcd7e9a.tar.gz
gcc-b0e90d2acfd63b8cb2fed2385abb5c034fcd7e9a.tar.bz2
Include missing header for std::free
* testsuite/abi/pr42230.cc: Add header for std::free. From-SVN: r250102
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog2
-rw-r--r--libstdc++-v3/testsuite/abi/pr42230.cc1
2 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 25e3aed..8dc1043 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,7 @@
2017-07-10 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/abi/pr42230.cc: Add header for std::free.
+
PR libstdc++/81381
* include/bits/sstream.tcc (basic_stringbuf::overflow)
(basic_stringbuf::basic_stringbuf(const __string_type&, ios::mode))
diff --git a/libstdc++-v3/testsuite/abi/pr42230.cc b/libstdc++-v3/testsuite/abi/pr42230.cc
index 3b5a1f6..48156e4 100644
--- a/libstdc++-v3/testsuite/abi/pr42230.cc
+++ b/libstdc++-v3/testsuite/abi/pr42230.cc
@@ -3,6 +3,7 @@
#include <cxxabi.h>
#include <cassert>
#include <cstddef>
+#include <cstdlib>
int main()
{