2 // { dg-do compile { target c++11 } }
9 typedef void (dummy::*safe_bool)();
11 constexpr safe_bool a = &dummy::nonnull;
12 constexpr safe_bool b = &dummy::nonnull2;
14 static_assert( static_cast<bool>( a ), "" );
15 static_assert( static_cast<bool>( b ), "" );