// PR c++/17413 // { dg-options -std=c++98 } template void foo() {} // { dg-message "note" } int main () { struct S {}; foo (); // { dg-error "(match|template argument for|trying to instantiate)" } }