[Bug c++/107771] Cannot resolve templated conversion operator in templated struct

2022-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107771 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Status|UNCONF

[Bug c++/107771] Cannot resolve templated conversion operator in templated struct

2022-11-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107771 --- Comment #1 from Andrew Pinski --- Reduced testcase: ``` struct bind_in { template operator R const& () const; }a; int x(void) { return a; } ```