* g++.dg/lookup/scoped4.C: New test.

From-SVN: r60751
This commit is contained in:
Neil Booth 2003-01-01 15:58:43 +00:00 committed by Neil Booth
parent 0ba7ab3e31
commit 35bce286a1
2 changed files with 16 additions and 0 deletions

View File

@ -1,6 +1,7 @@
2003-01-01 Neil Booth <neil@daikokuya.co.uk>
* g++.dg/parse/parse5.C: New test.
* g++.dg/lookup/scoped4.C: New test.
2003-01-01 Nathanael Nerode <neroden@gcc.gnu.org>

View File

@ -0,0 +1,15 @@
/* PR c++/754 */
/* { dg-do compile } */
namespace foo
{
namespace bar
{
enum x {foo
};
enum {ubit0 = 0x0001};
// Used to get a parse error before "::" token.
int i=foo::bar::ubit0;
}
}