blob: 10370daa6e607e5322e841e72f7e9974b7f34d57 [file] [log] [blame]
// 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()};
}