summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/explicit38.C
blob: 1831e45a3553518565a5a4abf44afea6ccaff8ff (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
template <int I>
void f(int j);			// { dg-message "note" }

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