aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t25.C
blob: 231977468257cded35a074c79aa9d311d5e726a2 (plain)
1
2
3
4
5
6
7
8
// Build don't link: 

template <class X> int f (X x, X y) { return 23; }
template <class X> int f (X x, int j = 3) { return 29; }

int foo () {
  return f (7);		// gets bogus error - 
}