Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;
}