Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
ambig4.C
blob: 02e39b80f0cea246785aad3f7077fd4e5d82826a [
file
] [
log
] [
blame
]
// PR c++/20293
namespace
hide
{
// { dg-message "hide" }
int
k
;
}
namespace
{
int
i
;
namespace
hide
{
// { dg-message "hide" }
int
j
;
}
}
void
F
(
int
)
{}
int
main
()
{
F
(
hide
::
j
);
// { dg-error "ambiguous" }
}