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