// PR c++/86932 // { dg-do compile { target c++11 } } template struct enable_if { using type = T; }; template struct enable_if { }; template struct is_foo { static constexpr bool value = false; }; // { dg-error "enable_if" "" { target *-*-* } .+1 } template::value, int>::type...> void f() {} int main() { f(); // { dg-error "no match" } }