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

template <class X> int f (X x, int * j) { return 29; }
template <class X> int f (X x, ...) { return 23; }

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