decl.c (bad_specifiers): It's OK to have an EH spec on a function pointer.
authorJason Merrill <jason@yorick.cygnus.com>
Sat, 7 Aug 1999 01:22:26 +0000 (01:22 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 7 Aug 1999 01:22:26 +0000 (21:22 -0400)
commitf8e55f34658519d892a5e0b7801b7bf029a41b23
tree5f55028157f56dee24cd6a6252b01f77f36f5127
parentadace600117e4a5bf1ac34d13c473284fe9c768b
decl.c (bad_specifiers): It's OK to have an EH spec on a function pointer.

* decl.c (bad_specifiers): It's OK to have an EH spec on a function
pointer.

* pt.c (maybe_get_template_decl_from_type_decl): Make sure that
we're looking at a class.

From-SVN: r28562
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c
gcc/cp/typeck.c