Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ctor9.C
blob: 0763ee4bc9b97be66051406c793b89cedac72a3a [
file
] [
log
] [
blame
]
// PR c++/47774
// { dg-do compile { target c++11 } }
struct
A
{
A
()
{}
};
template
<
typename
T
>
struct
array
{
constexpr
array
()
:
mem
()
{}
T mem
[
7
];
};
int
main
()
{
array
<
A
>
ar
;
}