re PR c++/48468 ([C++0x][SFINAE] noexcept operator does not handle function templates...
authorJason Merrill <jason@redhat.com>
Thu, 7 Apr 2011 21:48:00 +0000 (17:48 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 7 Apr 2011 21:48:00 +0000 (17:48 -0400)
commitd0bb79ac89f08dbc31be9d0427e9a16ea16fa37d
tree6e0a430b978c2d506159a60291e15cc51b366f6c
parent6dab6cf121a173733b7d4a4519c8eb1c573fc7cb
re PR c++/48468 ([C++0x][SFINAE] noexcept operator does not handle function templates well)

PR c++/48468
* except.c (build_noexcept_spec): Propagate error_mark_node.
(finish_noexcept_expr): Likewise.

From-SVN: r172148
gcc/cp/ChangeLog
gcc/cp/except.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/noexcept02.C
gcc/testsuite/g++.dg/cpp0x/sfinae11.C [new file with mode: 0644]