Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist48.C
blobcd9027e3aad3687fe45baca816f6d9ed3133b83e
1 // PR c++/48726
2 // { dg-do compile { target c++11 } }
4 #include <memory>
5 #include <initializer_list>
7 struct Foo{
8     int i;
9 };
10 typedef std::unique_ptr<Foo> up;
12 std::initializer_list<up> il{up{new Foo}, up{new Foo}};