re PR c++/196 (problem with: namespace N { class N {...}; })
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 26 Dec 2001 20:33:37 +0000 (20:33 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 26 Dec 2001 20:33:37 +0000 (20:33 +0000)
commit7d8e83691e11570c5d570fd8bdd3f4f2f3f615fa
tree327a74509523451ad1fded75dc53f475e71f67d5
parent8a723db2df8ea2a336691f2c3288a642bc8b0063
re PR c++/196 (problem with:  namespace N { class N {...}; })

cp:
PR c++/196
* cp/parse.y (bad_parm): Better diagnostic when given a SCOPE_REF.
testsuite:
* g++.dg/eh/ctor1.C: New test.
* g++.dg/other/error2.C: New test.

From-SVN: r48317
gcc/cp/ChangeLog
gcc/cp/parse.y
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/eh/ctor1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/other/error2.C [new file with mode: 0644]