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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Slightly cleaned up so it is only constexpr where the error is with:
```

struct Container {
  Container();
};
struct S {
  constexpr S() { Container c; }
  constexpr operator bool() { return 0; }
  template <int> void foo() { static_assert(S()); }
};
```

Reply via email to