Debian Codegraph @

gcc/testsuite/g++.dg/lookup/name-clash14.C

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 };