// PR c++/21352 struct coperator_stack { template void push3() { } }; struct helper {}; template void bla(F f) // { dg-message "candidate is" } { } template struct definition { definition() { bla(coperator_stack::push3); // { dg-error "matching" } } };