aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp49.C
blob: f2d610fdc441695b6c5f408d6ae3d74987d1fd1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Build don't link:
// GROUPS passed templates membertemplates
template <class X>
struct S
{
  template <class T>
  void f(T t1, T t = T())
  {}
};


void foo()
{
  S<int> si;
  si.f(3);
}