// PR c++/53039 // { dg-do compile { target c++11 } } template struct is_convertible { static const bool value = true; }; template struct enable_if { typedef T type; }; template struct Xs { static const bool value = true; }; template class BType { template ::value...>::value, bool>::type = false> void fooX(BUs&&...); }; template struct AType { template ::value...>::value, bool>::type = false> void foo(AUs&&...); }; int main() { AType t; t.foo(1, 1); }