From 45cac8baeb358b76c7255841543190cf3eeff2be Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 13 Jan 2017 13:01:48 +0000 Subject: [PATCH] Mark test as XFAIL for C++17 mode * testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: Mark XFAIL for C++17 until node reinsertion supports fancy pointers. From-SVN: r244436 --- libstdc++-v3/ChangeLog | 3 +++ .../23_containers/unordered_set/allocator/ext_ptr.cc | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3421ed102eac..55fb708de1bc 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2017-01-13 Jonathan Wakely + * testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: Mark + XFAIL for C++17 until node reinsertion supports fancy pointers. + PR libstdc++/78361 * testsuite/20_util/add_pointer/value.cc: Test forming function pointers. diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/ext_ptr.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/ext_ptr.cc index f59b80884456..ef38a727ae5e 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/ext_ptr.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/allocator/ext_ptr.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target c++11 } } +// { dg-do compile { target c++11 } } #include #include @@ -30,6 +30,8 @@ struct E : std::equal_to { }; using __gnu_test::CustomPointerAlloc; +// { dg-xfail-if "node reinsertion assumes raw pointers" { c++1z } } +// TODO when removing this xfail change the test back to "dg-do run". template class std::unordered_set>; void test01() -- 2.47.2