]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.robertl/eb10.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb10.C
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb10.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb10.C
deleted file mode 100644 (file)
index 7da5d75..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Build don't link:
-template <int object_size>
-class _fixed_size_allocator
-{
-  private:
-
-    struct      something { };
-    static something *  asdf;
-
-  public:
-
-    static void         delete_object ();
-};
-
-
-template <class T>
-class object_allocator
-{
-  private:
-
-    typedef     _fixed_size_allocator<sizeof (T)>               allocator;
-
-  public:
-
-    static void         deallocate (T * p)
-    {
-        allocator::delete_object (reinterpret_cast<void *> (p));
-    }
-};
-