Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;
};