blob: 112fb0ad67e2a5dfc913c93547e6d0f201ff5225 (
plain)
1
2
3
4
5
6
7
8
|
// PR c++/88969
// { dg-do compile { target c++2a } }
#include <new>
struct B {
void operator delete(void*, std::destroying_delete_t); // { dg-error ".operator delete. takes type .B*." }
};
|