1 // PR c++/83227
2 // { dg-do compile { target c++11 } }
3 
4 #include <initializer_list>
5 
6 template <typename d> struct f {
ff7   f(std::initializer_list<d>) {}
8 };
9 
10 struct h {};
11 struct i : h {
12   i();
13 };
14 void foo(f<h>);
main()15 int main() {
16   foo({i{}});
17 }
18