Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-6771.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ice5.C
blob: c5a117c02dd10567d5412e5897a3e59192209627 [
file
] [
log
] [
blame
]
// PR c++/51621
// { dg-do compile { target c++11 } }
struct
A
{
A
()
{}
};
struct
B
{
A a
[
1
];
constexpr
B
()
:
a
()
{}
// { dg-error "non-constant|non-constexpr" }
};