PR c++/80415 - wrong error with default arg and array reference.
authorJason Merrill <jason@redhat.com>
Mon, 17 Apr 2017 19:39:00 +0000 (15:39 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 17 Apr 2017 19:39:00 +0000 (15:39 -0400)
commitd478f1e4c947b2bdcd8e5cde8431f4c3dd79be60
tree83bc9d5afdf5d287e7d9bc25aed5f05b5f67adaf
parent6864d849216e1a8ccc9d5e58b2b652ad28029a56
PR c++/80415 - wrong error with default arg and array reference.

* tree.c (lvalue_kind): Return clk_class for an array prvalue.

From-SVN: r246954
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/tree.c
gcc/testsuite/g++.dg/cpp0x/initlist-array5.C [new file with mode: 0644]