// PR c++/66895 // { dg-do compile { target c++11 } } #include #include struct S { template S(char const (&)[N]); }; struct T1 { S s; }; void f1(std::initializer_list); void g1() { f1({{""}}); } struct T2 { const S& s; }; void f2(std::initializer_list); void g2() { f2({{""}}); }