Mark test as XFAIL for C++17 mode
authorJonathan Wakely <jwakely@redhat.com>
Fri, 13 Jan 2017 13:01:48 +0000 (13:01 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 13 Jan 2017 13:01:48 +0000 (13:01 +0000)
* 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
libstdc++-v3/testsuite/23_containers/unordered_set/allocator/ext_ptr.cc

index 3421ed102eacc9b80bebc76813231cf1b80bd18e..55fb708de1bca9451b30a59a2bffeb68fe8faa8c 100644 (file)
@@ -1,5 +1,8 @@
 2017-01-13  Jonathan Wakely  <jwakely@redhat.com>
 
+       * 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.
index f59b808844561beb1a4ba43742b0c8182c209690..ef38a727ae5e395be2f5e618959385aa275fadd4 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-do run { target c++11 } }
+// { dg-do compile { target c++11 } }
 
 #include <unordered_set>
 #include <memory>
@@ -30,6 +30,8 @@ struct E : std::equal_to<T> { };
 
 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<T, H, E, CustomPointerAlloc<T>>;
 
 void test01()