rt_gccstream/gcc/testsuite/g++.old-deja/g++.benjamin/tem07.C

39 lines
306 B
C

// { 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;
}