summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/defarg.C
blob: 833b98f06be2e96a86761a084003607070c62d5d (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do run  }
template <class T>
void f(T t, int i = 10);

template <class T>
void f(T t, int i) {}

int main()
{
  f(3);
}