blob: 7f18a61a47ad4fd15abb0b9ee3d99a5d9d0c1e41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// 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;
}
|