1 namespace ABC { 2 int x = 1; 3 } 4 foo(void)5 int foo (void) 6 { 7 namespace X = ABC; 8 return X::x; 9 } 10