Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array.C
blob: 1614d6bd2cc7ec58872e777d4d8fd5cf3595f74d [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// { dg-final { scan-assembler-not "static_initialization" } }
struct
A
{
int
i
;
constexpr
A
():
i
(
0
)
{
}
};
struct
B
{
A a
[
4
];
};
extern
const
B b
{};