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