1 2 3 4 5 6 7 8 9 10 11
// { dg-do run } // Test that we properly convert a constant ptm to bool. class A { }; int main() { int A::*const p = 0; if (p) return 1; }