PR c++/85285 - ICE with flexible array after substitution.
authorJason Merrill <jason@redhat.com>
Tue, 10 Apr 2018 14:23:54 +0000 (10:23 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 10 Apr 2018 14:23:54 +0000 (10:23 -0400)
commit05c602a135224b1fbc573fc54e3c925196503187
tree11c92ee0d3e55761dbb1e049267218a19952667d
parent4b51265982bb3817d60989ebdf4cbd2f8809902d
PR c++/85285 - ICE with flexible array after substitution.

* pt.c (instantiate_class_template_1): Check for flexible array in
union.

From-SVN: r259277
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/ext/flexary30.C [new file with mode: 0644]