]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/template24.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / template24.C
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 (file)
index 3315d18..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// Bug: g++ doesn't find the conversion from ostream_withassign to ostream.
-
-#include <iostream>
-
-template <class T>
-struct A {
-  T t;
-};
-
-template <class T>
-std::ostream & operator<< (std::ostream & os, A<T> & a)
-{
-  os << a.t;
-  return os;
-}
-
-int main ()
-{
-  A<int> a = { 1 };
-  std::cout << a << std::endl;
-}
-