]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/memclass4.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memclass4.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memclass4.C b/gcc/testsuite/g++.old-deja/g++.pt/memclass4.C
deleted file mode 100644 (file)
index 4c101c6..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#include <typeinfo>
-
-template <class T>
-struct allocator {
-  typedef T*        pointer;
-
-  template <class U> struct rebind {
-    typedef allocator<U> other;
-  };
-};
-
-template <class T, class Allocator>
-struct alloc_traits
-{
-  typedef typename Allocator::template rebind<T>::other allocator_type;
-};
-
-int main ()
-{
-  typedef alloc_traits<int, allocator<void> >::allocator_type at;
-
-  return typeid (at) != typeid (allocator <int>);
-}