diff --git a/libcxx/test/support/test_allocator.h b/libcxx/test/support/test_allocator.h --- a/libcxx/test/support/test_allocator.h +++ b/libcxx/test/support/test_allocator.h @@ -410,7 +410,7 @@ ::new ((void*)p) Tag_X(Ctor_Tag{}, std::forward(args)...); } - template + template void destroy(U* p) { p->~U(); }