1 2 3 4 5 6 7 8 9 10 11 12
// 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 ()); }