// PR c++/80691 // { dg-do compile { target c++11 } } struct true_type { static constexpr bool value = true; }; struct false_type { static constexpr bool value = false; }; template using void_t = void; template T&& declval(); template struct is_nonnarrowing_conversion : false_type {}; template struct is_nonnarrowing_conversion() })>> : true_type {}; template class wrapper { public: wrapper(T) {} }; static_assert(!is_nonnarrowing_conversion::value, ""); static_assert(!is_nonnarrowing_conversion, float>::value, "");