blob: 8f25e7e27d26a836a9895b77ff49d40a392cbe66 [file] [log] [blame]
// { dg-do compile { target c++11 } }
#include <type_traits>
template <typename T> struct x {
operator bool() {
static_assert(!std::is_same<T, T>::value, "");
return false;
}
};
static constexpr auto a = __is_constructible(bool, x<int>);