blob: 7c7e8fbfee6988ba8fa4d75c0a45247d9f1f5101 [file] [log] [blame]
// { dg-do compile { target c++11 } }
// PR c++/87155 confused about which anon namespace
namespace {
void a (); // this one
}
inline namespace n2 {
namespace {}
}
namespace {
int a (); // { dg-error "ambiguating" "" }
}