Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.0
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ctor9.C
blob: b7693f1e637fa7853e70710eb565df51000df1b4 [
file
] [
log
] [
blame
]
// PR c++/47774
// { dg-options -std=c++0x }
struct
A
{
A
()
{}
};
template
<
typename
T
>
struct
array
{
constexpr
array
()
:
mem
()
{}
T mem
[
7
];
};
int
main
()
{
array
<
A
>
ar
;
}