Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-99.C
blob: 8d791dd032dec147a3cb15025f11da2638cbeb5e [
file
] [
log
] [
blame
]
// Origin PR c++/51462
// { dg-do compile { target c++11 } }
struct
A
{
int
i
=
0
;
};
struct
B
{
A a
;
constexpr
B
()
:
a
(
0
)
{}
// { dg-error "no matching function" }
};