re PR c++/21514 ([DR 488] templates and anonymous enum)
authorMark Mitchell <mark@codesourcery.com>
Fri, 16 Sep 2005 15:41:45 +0000 (15:41 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 16 Sep 2005 15:41:45 +0000 (15:41 +0000)
commit2010cdcdd7bfd38c480fdffc147e875b7f277a70
tree5f4499835199488c0191de94813c9caef0ece492
parent6a4e47783a529fabc08694929bb74efa5b39f814
re PR c++/21514 ([DR 488] templates and anonymous enum)

PR c++/21514
* pt.c (check_instantiated_args): Treat uses of anonymous types as
causing type-deduction failure.

PR c++/21514
* g++.dg/template/crash19.C: Remove dg-error marker.
* g++.dg/template/local4.C: New test.

From-SVN: r104344
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash19.C
gcc/testsuite/g++.dg/template/local4.C