Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr105256.C
blob: a97949d796a84c930faf262642e4aefd34638438 [
file
] [
log
] [
blame
]
// PR c++/105256
// { dg-do compile { target c++11 } }
int
bar
(
int
&);
struct
S
{
struct
T
{
struct
U
{
int
i
=
bar
(
i
);
}
u
;
};
};
void
foo
(
S
::
T
*
p
)
{
*
p
=
{};
}