]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/typename24.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / typename24.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/typename24.C b/gcc/testsuite/g++.old-deja/g++.pt/typename24.C
deleted file mode 100644 (file)
index 893d406..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// Build don't link:
-// Origin: Mark Mitchell <mark@codesourcery.com>
-
-class ostream;
-
-extern ostream& cout;
-
-class Foo { };
-
-ostream &operator<<(ostream &os, const Foo &)
-{
-  return os;
-}
-
-template<class T>
-const typename T::fooz &operator<<(const Foo &, const T &t)
-{
-  return t;
-}
-
-int main()
-{
-  Foo foo;
-
-  cout << foo;
-}