1 // PR c++/48726 2 // { dg-do compile { target c++11 } } 3 4 #include <memory> 5 6 struct Foo{ 7 int i; 8 }; 9 typedef std::unique_ptr<Foo> up; 10 11 std::initializer_list<up> il{up{new Foo}, up{new Foo}}; 12