// { dg-do compile { target c++11 } } #include template struct x { operator bool() { static_assert(!std::is_same::value, ""); return false; } }; static constexpr auto a = __is_constructible(bool, x);