PR c++/70709 - zero-length array member
authorJason Merrill <jason@redhat.com>
Sun, 24 Jul 2016 02:52:33 +0000 (22:52 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 24 Jul 2016 02:52:33 +0000 (22:52 -0400)
commit2dac37c091b5cfb2eca123803fa3c8bd9701101c
tree3141286eafcb589cad6ce5829f5f9740454e1594
parent71b3723abb23b848ed7a647506345cdfaa03fddb
PR c++/70709 - zero-length array member

* class.c (walk_subobject_offsets): Handle 0-length array.

From-SVN: r238687
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/g++.dg/ext/array3.C [new file with mode: 0644]