blob: 439b8dabacb306bdc33c5a3eaa023b756d6abf3d [file] [log] [blame]
// PR c++/57082
// { dg-do compile { target c++11 } }
struct X
{
private:
~X() {}
};
int main()
{
new X; // OK
new X(); // OK
new X{}; // { dg-bogus "" }
}