OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [memclass4.C] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
// { dg-do run  }
// { dg-do run  }
#include 
#include 
template 
template 
struct allocator {
struct allocator {
  typedef T*        pointer;
  typedef T*        pointer;
  template  struct rebind {
  template  struct rebind {
    typedef allocator other;
    typedef allocator other;
  };
  };
};
};
template 
template 
struct alloc_traits
struct alloc_traits
{
{
  typedef typename Allocator::template rebind::other allocator_type;
  typedef typename Allocator::template rebind::other allocator_type;
};
};
int main ()
int main ()
{
{
  typedef alloc_traits >::allocator_type at;
  typedef alloc_traits >::allocator_type at;
  return typeid (at) != typeid (allocator );
  return typeid (at) != typeid (allocator );
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.