// PR c++/115378 // { dg-do compile { target c++20 } } struct tt {}; template constexpr auto __counter = 1; template using _as_base = tt; template struct env : _as_base>... {}; env t;