re PR c++/20157 (Internal compiler error on invalid code)
authorMark Mitchell <mark@codesourcery.com>
Mon, 14 Mar 2005 03:54:21 +0000 (03:54 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 14 Mar 2005 03:54:21 +0000 (03:54 +0000)
commit98f99d7f7cb37cfb836264d06b571d7c7f82f6a5
tree66a9178a49080f128ad593b4571f262bcec687b0
parent1b28cd06972a85be465cd1e9c7854f167a3b8157
re PR c++/20157 (Internal compiler error on invalid code)

PR c++/20157
* pt.c (determine_specialization): Reject non-specializations.

PR c++/20157
* g++.dg/template/error18.C: New test.

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