blob: c27d131238174d3b2a4cc5da8900f6d6fe6381b5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// { dg-do assemble }
template <int I>
void f(int i); // { dg-message "void f" }
void g()
{
int i;
f<i>(7); // { dg-error "" } template argument 1 is invalid.
// { dg-message "candidate" "candidate note" { target *-*-* } 8 }
}
|