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);
}