2 // { dg-do compile { target c++11 } }
4 template<typename _Tp, typename _Up = _Tp&&>
12 template<typename _Tp>
13 auto declval() noexcept -> decltype(__declval<_Tp>(0));
18 template<typename U, typename V,
19 void_t<decltype ( (declval<U>().*declval<V>()) () )
28 boom<Foo, decltype(&Foo::bar)>();