[Bug c++/97174] out-of-namespace function definition

2020-09-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97174 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement --- Comment #3 from Jonath

[Bug c++/97174] out-of-namespace function definition

2020-09-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97174 --- Comment #2 from Richard Biener --- With an instantiation added: int main () { N::conv (1); } we get t.C: In function 'int main()': t.C:13:25: error: call of overloaded 'conv(int)' is ambiguous 13 | int main () { N::conv (1); } |

[Bug c++/97174] out-of-namespace function definition

2020-09-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97174 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to fail|