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