summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit39.C
blob: 995d8c0750b97fea3df9555d66b162272ee6c2fd (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
template <class T>
void f(int i);			// { dg-message "note" }

void g()
{
  f<7>(3); // { dg-error "" } no matching function.
  // { dg-message "candidate" "candidate note" { target *-*-* } 7 }
}