1 // PR c++/88184
2 // { dg-do compile }
3 // { dg-options "-std=c++2a -fchecking=2" }
4 
5 namespace A
6 {
7   void f ();
8 }
9 
10 using A::f;
11 
g()12 template <typename T> void g ()
13 {
14   f<T> (); // { dg-error "no matching function for call" }
15 }
16 
17 void
fn()18 fn ()
19 {
20   g<int>();
21 }
22