repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-array23.C
blob
cda2afb9fcccdae3ab5eb5a1940a85583c247943
1
// PR c++/117985
2
// { dg-do compile { target c++11 } }
3
4
struct _Vector_impl {
5
constexpr
6
_Vector_impl() {}
7
};
8
struct _Vector_base {
9
~_Vector_base();
10
_Vector_impl _M_impl;
11
};
12
struct vector : private _Vector_base {};
13
struct string {
14
string();
15
};
16
struct VEC {
17
vector pane{};
18
};
19
struct FOO {
20
VEC screen[1]{};
21
string debug_name;
22
};
23
24
int
25
main ()
26
{
27
FOO{};
28
}