(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp1z/
aggr-base10.C
// PR c++/90254
// { dg-do compile { target c++17 } }

struct A {
  A();
  A(const A &);
};
struct B : A { };

A foo ();

int
main ()
{
  B b{foo()};
}