PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist48.C
blob7a79c67766362735f17ad1c4667137b97c129e4b
1 // PR c++/48726
2 // { dg-do compile { target c++11 } }
4 #include <memory>
6 struct Foo{
7     int i;
8 };
9 typedef std::unique_ptr<Foo> up;
11 std::initializer_list<up> il{up{new Foo}, up{new Foo}};