Skip to content
Snippets Groups Projects
Commit 2fc907bd authored by jconner's avatar jconner
Browse files

PR c++/19989

cp/pt.c (tsubst): Accept zero-length array if tf_error is set
in complain flags.  Change error message for negative-
length array.
testsuite/g++.dg/ext/array2.C: New test.
testsuite/g++.dg/template/dependent-name3.C: New test.
testsuite/g++.dg/template/dependent-name4.C: New test.
testsuite/g++.dg/template/sfinae2.C: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106468 138bc75d-0d04-0410-961f-82ee72b054a4
parent d65b3a40
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment