Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
stmtexpr20.C
blob: 33355e3b990d1f1b80243805332e366546adbab4 [
file
] [
log
] [
blame
]
// PR c++/83921
// { dg-options "" }
// { dg-do compile { target c++11 } }
struct
test
{
const
int
*
addr
;
};
const
test
*
setup
()
{
static
constexpr
test atest
=
{
({
int
inner
=
1
;
(
const
int
*)(
0
);
})
};
return
&
atest
;
}