2 // { dg-do compile { target c++11 } }
6 template<bool, class = void>
10 struct enable_if<true, T> {
18 struct and_<B1> : B1 {};
20 template<class, class>
22 static constexpr bool value = false;
26 struct is_same<T, T> {
27 static constexpr bool value = true;
33 typename enable_if<and_<is_same<T, U>...>::value>::type*& = enabler // { dg-error "no type" }
38 S<bool> s(0); // { dg-error "no match" }