re PR c++/14369 (errenous reject of well-formed code)
authorMark Mitchell <mark@codesourcery.com>
Tue, 2 Mar 2004 05:47:18 +0000 (05:47 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 2 Mar 2004 05:47:18 +0000 (05:47 +0000)
commit9b7be7b5977ab22f02fc2d1360249b7e08bd5c36
treed6ff29c0acb044467d8da305f300ded7914a30e3
parentfdf89bf57ced4684503675d29089cbd893fcf85c
re PR c++/14369 (errenous reject of well-formed code)

PR c++/14369
* pt.c (build_non_dependent_expr): Do not create a
NON_DEPENDENT_EXPR for a THROW_EXPR.

PR c++/14369
* g++.dg/template/cond4.C: New test.

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