Debian Codegraph @

gcc/testsuite/g++.dg/ext/vla23.C

raw
1 // PR c++/95552
2 // Test for VLA and cloned constructor.
3 // { dg-additional-options -Wno-vla }
4
5 struct VB { };
6 struct ViewDom: virtual VB
7 {
8 ViewDom(int i) { char (*a)[i]; }
9 };
10 void element( )
11 {
12 ViewDom a(2);
13 }