summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp48.C
blob: 619ca66cd4ed03aaae8fe095282a43e4bbba9183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }
// GROUPS passed templates membertemplates
struct S
{
  template <class T>
  void f(T t1, T t = T())
  {}
};


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