repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix broken MinGW build of gcc.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Warray-bounds-7.C
blob
7f18a61a47ad4fd15abb0b9ee3d99a5d9d0c1e41
1
// PR c++/61971
2
// { dg-options "-O2 -Warray-bounds" }
3
4
class B {
5
public:
6
virtual ~B(){};
7
};
8
9
class A {
10
public:
11
B m1[1];
12
B m2[1];
13
B m3[1];
14
15
A(){};
16
};
17
18
int main() {
19
A v;
20
return 0;
21
}