// { dg-do compile { target c++11 } } // Bug 121046 // Asking is_constructible_v, NonTrivial*> is ill-formed // LWG 4294. bitset(const CharT*) constructor needs to be constrained #include struct NonTrivial { ~NonTrivial() { } }; static_assert( ! std::is_constructible, NonTrivial*>::value, "std::bitset cannot be constructed from this pointer" );