// PR c++/21352 struct coperator_stack { template void push3() { } }; struct helper {}; template void bla(F f) // { dg-message "bla|no known conversion" } { } template struct definition { definition() { bla(coperator_stack::push3); // { dg-error "matching" } // { dg-message "candidate" "candidate note" { target *-*-* } 23 } } };