re PR c++/16246 (Incorrect template argument deduction)
authorMark Mitchell <mark@codesourcery.com>
Wed, 18 Aug 2004 02:55:14 +0000 (02:55 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 18 Aug 2004 02:55:14 +0000 (02:55 +0000)
commit8baddbf1080b7696875044c44eaca5a612e22ec8
tree0472c6e1b231c7c7e30a9a5b938305b716ad2da9
parent07e1528687c09db7d6e1b70a0c908f8679c9615a
re PR c++/16246 (Incorrect template argument deduction)

PR c++/16246
* pt.c (unify): Tidy ARRAY_TYPE handling.  Make sure that non-type
arguments have the same type as the corresponding parameter.

PR c++/16246
* g++.dg/template/array7.C: New test.

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