// PR c++/90711 // { dg-do compile { target c++11 } } namespace test { void EXISTS(int); } template struct stub_void { typedef void type; }; template using stub_void_t = typename stub_void::type; #if !defined(SUPPRESS) template struct has_to_string { static constexpr bool value = false; }; template struct has_to_string> { static constexpr bool value = true; }; #endif template struct has_std_to_string { static constexpr bool value = false; }; template struct has_std_to_string> { static constexpr bool value = true; }; static_assert (has_std_to_string::value, "");