@@ -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()