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

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

int foo () {
  return f (7.0, 9.0);
}