Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
flexary35.C
blob: b62c718fb0b3a0c07ac4fcb2ab681e454c238514 [
file
] [
log
] [
blame
]
// PR c++/93618
// { dg-do compile { target c++11 } }
// { dg-options "" }
template
<
typename
T
>
struct
C
{
~
C
()
=
default
;
T
*
p
=
nullptr
;
};
class
A
{
struct
B
{
int
c
;
C
<
B
*>
d
[];
};
void
foo
(
int
f
)
{
B s
;
s
.
c
=
f
;
}
B e
;
};