* testsuite/24_iterators/container_access.cc: Fix missing returns.
* testsuite/24_iterators/range_access_cpp14.cc: Likewise.
From-SVN: r238608
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.
static_assert(!e);
}
-int
+void
test03()
{
std::initializer_list<int> il{1,2,3};
}
-int
+void
test04()
{
std::vector<int> v{1,2,3};
constexpr auto ce __attribute__((unused)) = std::cend(i);
}
-int
+void
test03()
{
std::initializer_list<int> il{1};
VERIFY(std::crend(il) == std::reverse_iterator<const int*>(il.begin()));
}
-int
+void
test04()
{
std::vector<int> v{1};