// PR c++/88419 // { dg-do compile { target c++17 } } template struct ref_view { template ref_view(T&&); }; template ref_view(R&) -> ref_view; struct ref_fn { template auto operator()(R r) const noexcept(noexcept(ref_view{r})); }; template struct indirect_view { indirect_view(R); }; struct indirect_fn { template auto operator()(R r) const noexcept(noexcept(indirect_view{r})); };