Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ice5.C
blob: 51b328e2598098f6d330e96751674920426ec8fb [
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." }
};