https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128289
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Reduced to just this:
```
template<typename... T>
struct overloaded: T... {};
void fun(auto b) {}
struct s1{};
struct s2{};
overloaded g(s1{},s2{});
```
