Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
local4.C
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)" }
}