// PR c++/53862 // { dg-do compile { target c++11 } } typedef unsigned long size_t; template struct is_scalar { static const bool value = true; }; template struct enable_if { typedef T type; }; template void f(Args...) {} template typename enable_if::value, void>::type f(T, Args...) {} int main() { f<1>(1); }