OSDN Git Service

* c-decl.c (shadow_tag_warned, grokdeclarator): Handle _Alignas
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / initlist48.C
1 // PR c++/48726
2 // { dg-options -std=c++0x }
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}};