// PR c++/65080 // { dg-do compile { target c++11 } } template static constexpr T xxx(){ return T(); } template struct foo { using type = T(*)(); static constexpr type value[1] = {&xxx}; }; template constexpr typename foo::type foo::value[1]; int main() { constexpr int x = foo::value[0](); }