1 // PR c++/89315 2 // { dg-do compile { target c++11 } } 3 4 #include <initializer_list> 5 6 struct bar { 7 bar(std::initializer_list<int>, int = int()); 8 }; 9 10 struct i { 11 const bar & invitees; 12 }; 13 14 template <typename = void> struct n { 15 public: m_fn1n16 void m_fn1() { i{{}}; } 17 }; 18 19 struct o : n<> { po20 void p() { m_fn1(); } 21 }; 22