Sign in
gnu
/
gcc
/
7ff47281ce4f3699185b06a3430968eac2a5b0c6
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
error56.C
blob: 3eda04c322523478f69fd89ac35935d721e90eca [
file
] [
log
] [
blame
]
// Test that the error message mentions the template arguments.
struct
A
{
template
<
class
T
>
void
f
(
T
);
void
f
();
};
int
main
()
{
A
().
f
<
1
>();
// { dg-error "f<1>" }
}