Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla23.C
blob: 317a824b2f31fdc0c8b66cb480639d971e29a0e0 [
file
] [
log
] [
blame
]
// PR c++/95552
// Test for VLA and cloned constructor.
// { dg-additional-options -Wno-vla }
// { dg-require-effective-target alloca }
struct
VB
{
};
struct
ViewDom
:
virtual
VB
{
ViewDom
(
int
i
)
{
char
(*
a
)[
i
];
}
};
void
element
(
)
{
ViewDom
a
(
2
);
}