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