// PR c++/53862 // { dg-options "-std=c++0x" } 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); }