summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t26.C
blob: 181419bf0a2a7ad1bf5eb72577f024af9bdf752c (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }

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);
}