re PR c++/12167 (ICE on default argument of class member function if non-simple)
authorNathan Sidwell <nathan@codesourcery.com>
Sat, 6 Sep 2003 11:29:17 +0000 (11:29 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Sat, 6 Sep 2003 11:29:17 +0000 (11:29 +0000)
commitb92bc2a028982a808589a187381095c158182446
tree73b60b4f2fc5d263fe54ad0e1c85ed387bcbc5d5
parent13f7d3a1c0fea5ef96f2c89ec96dad1f2e59b330
re PR c++/12167 (ICE on default argument of class member function if non-simple)

cp:
PR c++/12167
* parser.c (cp_parser_late_parsing_default_args): Push & pop the
unparsed functions queue.
testsuite:
PR c++/12167
* g++.dg/parse/defarg5.C: New test.

* g++.dg/template/non-type-template-argument-1.C: Tweak expected error.

From-SVN: r71133
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/defarg5.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/non-type-template-argument-1.C