Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist-array23.C
blobcda2afb9fcccdae3ab5eb5a1940a85583c247943
1 // PR c++/117985
2 // { dg-do compile { target c++11 } }
4 struct _Vector_impl {
5   constexpr
6     _Vector_impl() {}
7 };
8 struct _Vector_base {
9   ~_Vector_base();
10   _Vector_impl _M_impl;
12 struct vector : private _Vector_base {};
13 struct string {
14   string();
16 struct VEC {
17   vector pane{};
19 struct FOO {
20   VEC screen[1]{};
21   string debug_name;
24 int
25 main ()
27   FOO{};