Commit 0a024155 by Jonathan Wakely Committed by Jonathan Wakely

Fix missing returns in libstdc++ testsuite

	* testsuite/24_iterators/container_access.cc: Fix missing returns.
	* testsuite/24_iterators/range_access_cpp14.cc: Likewise.

From-SVN: r238608
parent 22620c14
2016-07-21 Jonathan Wakely <jwakely@redhat.com>
* testsuite/24_iterators/container_access.cc: Fix missing returns.
* testsuite/24_iterators/range_access_cpp14.cc: Likewise.
* testsuite/18_support/new_delete_placement.cc: Don't allocate (and
leak) memory for arguments to placement delete.
* testsuite/20_util/addressof/1.cc: Don't leak memory.
......
......@@ -47,7 +47,7 @@ test02()
static_assert(!e);
}
int
void
test03()
{
std::initializer_list<int> il{1,2,3};
......@@ -67,7 +67,7 @@ test03()
}
int
void
test04()
{
std::vector<int> v{1,2,3};
......
......@@ -48,7 +48,7 @@ test02()
constexpr auto ce __attribute__((unused)) = std::cend(i);
}
int
void
test03()
{
std::initializer_list<int> il{1};
......@@ -60,7 +60,7 @@ test03()
VERIFY(std::crend(il) == std::reverse_iterator<const int*>(il.begin()));
}
int
void
test04()
{
std::vector<int> v{1};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment