summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t24.C
blob: 77d1c990950eb8f6325ed40a71faa654b103ab3c (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// { dg-options "" }

template <class X> int f (X x, X y) { return 23; } // { dg-message "note" }

int foo () {
  return f (7);	// { dg-error "" } 
  // { dg-message "candidate" "candidate note" { target *-*-* } 7 }
}