blob: 95d2990ec88d3aa9d827e5a48e1be2e8475fabe1 [file] [log] [blame]
// PR c++/17413
// { dg-options -std=c++98 }
template <typename T> void foo() {} // { dg-message "note" }
int main () {
struct S {};
foo<S> (); // { dg-error "(match|template argument for|trying to instantiate)" }
}