Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ice3.C
blob: fccd120855aa28f7ec47a9be2be19def3df01f75 [
file
] [
log
] [
blame
]
// PR c++/46289
// { dg-do compile { target c++11 } }
struct
A
{
int
i
;
};
struct
B
{
A a
;
constexpr
B
():
a
({
1
,
2
})
{
}
// { dg-error "" }
};