Core DR 393 - parameter pointer to array of unknown bound
authorJason Merrill <jason@redhat.com>
Tue, 11 Jul 2017 18:41:32 +0000 (14:41 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 11 Jul 2017 18:41:32 +0000 (14:41 -0400)
commit19cf5a70685214d2fe4c5b79b1f8399de8a7091e
treec8c7e4e1fd4ab01c167ad3f8109b425439e63fef
parentf281956edeed9c6be03867bf3875881970bc115c
Core DR 393 - parameter pointer to array of unknown bound

* decl.c (grokparms): Downgrade error about array of unknown bound
to pedwarn and disable it for C++17.

From-SVN: r250137
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/cpp1z/dr393.C [new file with mode: 0644]