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