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