diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/template24.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/template24.C | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/template24.C b/gcc/testsuite/g++.old-deja/g++.jason/template24.C deleted file mode 100644 index 120b717eddd..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/template24.C +++ /dev/null @@ -1,21 +0,0 @@ -// Bug: g++ doesn't find the conversion from ostream_withassign to ostream. - -#include <iostream.h> - -template <class T> -struct A { - T t; -}; - -template <class T> -ostream & operator<< (ostream & os, A<T> & a) -{ - os << a.t; - return os; -} - -int main () -{ - A<int> a = { 1 }; - cout << a << endl; -} |