Commit 35bce286 by Neil Booth Committed by Neil Booth

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

From-SVN: r60751
parent 0ba7ab3e
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>
......
/* 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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment