(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
init/
empty2.C
// PR c++/86485
// { dg-additional-options -Wmaybe-uninitialized }

struct E {};
struct S { S () {} E e; };
void foo (S);

void
bar (bool b)
{
  foo (b ? S () : S ());
}