Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" "" }
}