blob: facfa3f56984b980d88ccddd40dbf21dc2fb5d5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// { dg-do assemble }
namespace A{
void f(); // { dg-message "note" }
}
using namespace A;
void f(); // { dg-message "note" }
void g()
{
f(); // { dg-error "ambiguous" } ambiguous, ::f or A::f ?
// { dg-message "candidate" "candidate note" { target *-*-* } 12 }
}
|