Commit 8a4c4f12 by Ville Voutilainen Committed by Ville Voutilainen

Fix tests on old arm platforms for optional.

	* testsuite/20_util/optional/77288.cc: Don't use exception_ptr.

From-SVN: r240347
parent 68723552
2016-09-22 Ville Voutilainen <ville.voutilainen@gmail.com>
Fix tests on old arm platforms for optional.
* testsuite/20_util/optional/77288.cc: Don't use exception_ptr.
2016-09-22 Jonathan Wakely <jwakely@redhat.com>
* python/libstdcxx/v6/printers.py (StdVariantPrinter): Adjust for
......
......@@ -18,7 +18,6 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
#include <exception>
#include <optional>
#include <any>
......@@ -28,8 +27,8 @@ using std::optional;
void test01()
{
optional<optional<std::exception_ptr>> nested_element;
optional<std::exception_ptr> element = {};
optional<optional<int>> nested_element;
optional<int> element = {};
nested_element = element;
VERIFY(nested_element);
}
......
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