// PR c++/48726 // { dg-options -std=c++0x } #include struct Foo{ int i; }; typedef std::unique_ptr up; std::initializer_list il{up{new Foo}, up{new Foo}};