2 // { dg-do compile { target c++11 } }
4 template<bool, typename Tp = void>
8 struct enable_if<true, Tp> { typedef Tp type; };
13 using type = typename count<I-1>::type;
23 auto foo(typename enable_if<(I>=0)>::type *
24 = nullptr) -> typename count<I>::type { }
27 void foo(typename enable_if<(I<0)>::type * = nullptr) { }