https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114392
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2024-03-19 Keywords| |rejects-valid Status|UNCONFIRMED |NEW --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- c.cc: In function 'int main()': c.cc:10:6: error: address of overloaded function with no contextual type information 10 | (&A<0>::call)(); | ~^~~~~~~~~~~~ c.cc:11:6: error: address of overloaded function with no contextual type information 11 | (&A<1>::call)(5); | ~^~~~~~~~~~~~