Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array24.C
blob: 538969830bac19aa7632a2bb97efa6bfce4ee9ad [
file
] [
log
] [
blame
]
// PR c++/90951
// { dg-do compile { target c++11 } }
#define
assert
(
expr
)
static_assert
(
expr
,
#expr)
struct
S
{
const
char
a
[
2
];
};
constexpr
struct
S a
[
1
][
1
][
1
]
=
{
};
assert
(
'\0'
==
*
a
[
0
][
0
][
0
].
a
);