Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
scoped4.C
blob: 2d9d90a17685b900dd41b50ff3b4fefabbfaf8cb [
file
] [
log
] [
blame
]
/* 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
;
}
}