re PR c++/5919 (ICE when passing variable array to template function)
authorMark Mitchell <mark@codesourcery.com>
Sun, 1 Dec 2002 20:46:08 +0000 (20:46 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 1 Dec 2002 20:46:08 +0000 (20:46 +0000)
commit94fc547cecfe31473d5db4dec66e4be9f0a797f4
tree9d31a0fdd8168751516c3447f11d0dac0956f113
parenta82d6da5fcc41ade40261bca65c7717686c1ac9f
re PR c++/5919 (ICE when passing variable array to template function)

PR c++/5919
* g++.dg/template/varmod1.C: New test.

PR c++/5919
* pt.c (unify): Use variably_modified_type_p to test validity of
template argument types.

From-SVN: r59698
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/varmod1.C [new file with mode: 0644]