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

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);		// { dg-bogus "" } 
}