// PR c++/91923 - failure-to-SFINAE with class type NTTP in C++17. // { dg-do compile { target c++11 } } template constexpr bool is_integral_(...) { return false; } template constexpr bool is_integral_(long) { return true; } static_assert(is_integral_(42), ""); static_assert(!is_integral_(42), ""); struct S {}; static_assert(!is_integral_(42), "");