// PR c++/65498 // { dg-do compile { target c++11 } } template struct is_same { enum { value = false }; constexpr bool operator()() const noexcept { return value; } }; template struct is_same { enum { value = true }; constexpr bool operator()() const noexcept { return value; } }; template struct enable_if { }; template struct enable_if { typedef T type; }; struct A; template struct F { }; template struct F{}()>::type> { template F(MakeDependent) { auto ICE_HERE = __func__; (void)ICE_HERE; // avoid -Wunused-variable } }; int main() { F{1}; }