aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.benjamin/tem07.C
blob: 2b304b464f2e2a72768dd483e299fd4c44b8181d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// { dg-do run  }

template <class T>
class Foo
{
public:
    Foo(const T&);
    Foo(const T&, const T&);
};

template <class T>
Foo<T>::Foo(const T& t0)
{
}

template <class T>
Foo<T>::Foo(const T& t0, const T& t1)
{
}

template Foo<int>::Foo(const int& t0);


int main (void) {
  return 0;
}