aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp66.C
blob: d7c1f57fc6caa3a169a2693a4d4b23eddab713eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Build don't link:

template <class T>
struct S
{
  template <class U>
  void f(U u) { this->template f<>(3); }
};


void g()
{
  S<char> s;
  s.f(1.0);
}