Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
pr64527.C
blob: 36b82141caef352bcd7d3e163039335c771fe90d [
file
] [
log
] [
blame
]
// { dg-do run { target c++11 } }
static
int
g
;
struct
A
{
A
()
{
g
=
1
;
}
};
struct
accessor
{
A a
;
int
x
;
};
int
main
(
void
)
{
(
void
)
accessor
{};
if
(
g
!=
1
)
__builtin_abort
();
}