2 // { dg-do compile { target c++11 } }
4 template <typename, typename>
7 enum { value = false };
8 constexpr bool operator()() const noexcept { return value; }
14 enum { value = true };
15 constexpr bool operator()() const noexcept { return value; }
18 template <bool, typename = void>
22 struct enable_if<true, T> { typedef T type; };
26 template <typename, typename = void>
30 struct F<X, typename enable_if<is_same<X, A>{}()>::type> {
31 template <typename MakeDependent>
33 auto ICE_HERE = __func__;
34 (void)ICE_HERE; // avoid -Wunused-variable