Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Warray-bounds-7.C
blob: 7f18a61a47ad4fd15abb0b9ee3d99a5d9d0c1e41 [
file
] [
log
] [
blame
]
// PR c++/61971
// { dg-options "-O2 -Warray-bounds" }
class
B
{
public
:
virtual
~
B
(){};
};
class
A
{
public
:
B m1
[
1
];
B m2
[
1
];
B m3
[
1
];
A
(){};
};
int
main
()
{
A v
;
return
0
;
}