☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
name-clash14.C
☽
☼
gcc/testsuite/g++.dg/lookup/name-clash14.C
code
plain
raw
1
const int x = 24;
2
struct A
3
{
4
struct B
5
{
6
enum { E = x };
7
};
8
static const int x = 42; // { dg-error "changes meaning" }
9
};