Commit 98b5fb3c by Jonathan Wakely Committed by Jonathan Wakely

Make libstdc++ debug mode test valid for C++98

	* testsuite/25_algorithms/lower_bound/debug/irreflexive.cc: Use
	C++98-compatible initialization for array.

From-SVN: r238944
parent 6f3b8891
2016-08-01 Jonathan Wakely <jwakely@redhat.com> 2016-08-01 Jonathan Wakely <jwakely@redhat.com>
* testsuite/25_algorithms/lower_bound/debug/irreflexive.cc: Use
C++98-compatible initialization for array.
* testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: Remove * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: Remove
unused header and variable from compile-only test. unused header and variable from compile-only test.
* testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: Likewise. * testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: Likewise.
......
...@@ -42,6 +42,6 @@ struct A_int_comparer ...@@ -42,6 +42,6 @@ struct A_int_comparer
void test01() void test01()
{ {
A as[] { 0, 1, 2, 3 }; A as[] = { 0, 1, 2, 3 };
std::lower_bound(as, as + 4, 1, A_int_comparer()); std::lower_bound(as, as + 4, 1, A_int_comparer());
} }
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