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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #3)
> // PR c++/114962

Reduced much further and even removing the for loop and the array:
```
struct A {
  void third();
  using Handler = void (A::*)();
  static constexpr Handler kArray = &A::third;
  static_assert([] {
        return (kArray)!=nullptr;
  }(), "");
};
```

Which does point to a Pointer to member function issue.

Reply via email to