// PR c++/117855 // { dg-do compile { target c++20 } } template struct span { span(T&&);}; template span(T &&) -> span; template struct this_span : span { using span::span; }; template this_span(T &&) -> this_span; int vec; this_span a = vec;