https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119034

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=68942

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So the problem is not exactly an issue with ADL but rather an `overly strict
use of deleted function before argument-dependent lookup`.

That is if I take the original testcase and remove `delete` and change the
return type to int for the function foo inside bar; GCC works.

So this is another case of PR 68942.

Reply via email to