2015-03-24 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/61971
* g++.dg/warn/Warray-bounds-7.C: New.
From-SVN: r221636
+2015-03-24 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/61971
+ * g++.dg/warn/Warray-bounds-7.C: New.
+
2015-03-24 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/60067
--- /dev/null
+// 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;
+}