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
This commit is contained in:
parent
22620c1452
commit
0a024155c4
@ -1,5 +1,8 @@
|
||||
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};
|
||||
|
Loading…
Reference in New Issue
Block a user