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