1 namespace a { 2 namespace b { 3 void foo(); 4 } 5 } 6 7 void foo()8 a::b:foo() // { dg-error "" } 9 { 10 } 11