1 // PR c++/84707 2 // { dg-do compile { target c++11 } } 3 4 inline namespace { 5 namespace {} // not this one 6 void a (); 7 } 8 9 namespace { 10 int a (); // { dg-error "ambiguating" "" } 11 } 12