// PR c++/48726 // { dg-do compile { target c++11 } } #include struct Foo{ int i; }; typedef std::unique_ptr up; std::initializer_list il{up{new Foo}, up{new Foo}};