1 // { dg-do run { target c++11 } }
2 // { dg-skip-if "requires hosted libstdc++ for cassert" { ! hostedlib } }
6 template<bool, typename _Tp = void> struct enable_if { };
7 template<typename _Tp> struct enable_if<true, _Tp> { typedef _Tp type; };
11 constexpr typename enable_if<sizeof...(c) == 2, int>::type operator""_t ()
17 constexpr typename enable_if<sizeof...(c) == 1, int>::type operator""_t ()
23 constexpr typename enable_if<sizeof...(c) >= 3, int>::type operator""_t ()
28 int operator""_t (long double)
37 assert (100000_t == 100);
38 assert (200.0_t == 200);