Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
name-clash15.C
blob: 5c123bf7005ecbfac9003c16941194014759ce37 [
file
] [
log
] [
blame
]
struct
C
{
static
const
int
x
=
24
;
};
struct
A
{
struct
B
:
C
{
enum
{
E
=
x
};
};
// OK, earlier x was found in a base, lookup didn't pass through A.
static
const
int
x
=
42
;
};