https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123658
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Slightly reduced:
```
struct Nested {
int value;
};
template <class T=int> void f() {
constexpr Nested x = {};
[] { x.value ? x.value : 1; };
}
int main() { f(); }
```
