Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;
}
}