(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
init/
new48.C
// PR c++/78139

struct A
{
  A(int);
private:
  ~A();
};

struct B
{
  B(void*);
};

int main()
{
  B(new A(42));
}