re PR c++/21352 (ICE with passing template function type as template type)
authorMark Mitchell <mark@codesourcery.com>
Thu, 5 May 2005 19:08:12 +0000 (19:08 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 5 May 2005 19:08:12 +0000 (19:08 +0000)
commit2226e997d7849508b15306736f1dab88cdc29445
treea2782d0a70028fe7eb431d9f2fb5070263765d63
parent43ac1934bad02902f1912d0b820edf14c52e7f0f
re PR c++/21352 (ICE with passing template function type as template type)

PR c++/21352
* pt.c (build_non_dependent_expr): Use is_overloaded_fn.

PR c++/21352
* g++.dg/template/crash37.C: New test.

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