Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr87155.C
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" "" }
}