// PR c++/17413 // { dg-options -std=c++98 } template void foo() {} // { dg-message "note" } int main () { struct S {}; foo (); // { dg-error "match" } // { dg-message "candidate" "candidate note" { target *-*-* } 8 } }