summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/overload3.C
blob: 4d23173397f7beda1f85729001c8cdac4b72c9e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// { dg-do assemble  }

template <class T>
void g(T, T);

template <class T>
void g(int*, T);

struct S
{
  void f() const
    {
      g(X, X+3);
    }

  double X[3];
};