☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla23.C
☽
☼
gcc/testsuite/g++.dg/ext/vla23.C
code
plain
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
}