// PR c++/71822 // { dg-do compile } int bar (int); template struct A { explicit A (int x = bar (sizeof (T))); }; struct B { A b[2]; }; void baz () { B b; }