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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced:
```
template<typename T>
void foo(decltype(auto(T())) x) {}

int main() {
    foo<int>(1);
}
```

Reply via email to