2 // Submitted by Nathan Sidwell <nathan@acm.org>
3 // Bug: g++ was crashing after giving errors.
6 void connect_to_method(
23 connect_to_method(this,&show); // { dg-error "pointer to member" } invalid pmf expression
24 connect_to_method(this,&expose); // { dg-error "pointer to member" } invalid pmf expression