�
new test From-SVN: r22642
This commit is contained in:
parent
8b424a9b49
commit
98e48780cf
1 changed files with 37 additions and 0 deletions
37
gcc/testsuite/g++.old-deja/g++.benjamin/tem07.C
Normal file
37
gcc/testsuite/g++.old-deja/g++.benjamin/tem07.C
Normal file
|
@ -0,0 +1,37 @@
|
|||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue