1 // { dg-do compile { target c++11 } }
2 // { dg-prune-output "note:" }
4 template<bool, typename _Tp = void> struct enable_if { };
5 template<typename _Tp> struct enable_if<true, _Tp> { typedef _Tp type; };
8 constexpr typename enable_if<sizeof...(c) == 2, int>::type operator""_t () // { dg-error "no type named|in" }
14 constexpr typename enable_if<sizeof...(c) == 1, int>::type operator""_t () // { dg-error "no type named|in" }
21 int c = 100000_t; // { dg-error "no matching function for call to" }