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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [friend49.C] - Diff between revs 305 and 338

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

Rev 305 Rev 338
// { dg-do assemble  }
// { dg-do assemble  }
// Copyright (C) 2001 Free Software Foundation, Inc.
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 5 Jun 2001 
// Contributed by Nathan Sidwell 5 Jun 2001 
// Bug 2929. We were forgetting about template parm scope when
// Bug 2929. We were forgetting about template parm scope when
// injecting a friend decl into a class template specialization's
// injecting a friend decl into a class template specialization's
// containing scope.
// containing scope.
template  class Vec;
template  class Vec;
template <> class Vec
template <> class Vec
{
{
public:
public:
  Vec ();
  Vec ();
  Vec & Fn (double);
  Vec & Fn (double);
  friend Vec Fn (const Vec &, double);
  friend Vec Fn (const Vec &, double);
}; // pop_binding ICE
}; // pop_binding ICE
template  class Alloc
template  class Alloc
{
{
  template  struct Rebind
  template  struct Rebind
  {
  {
    typedef Alloc<_Tp1> other;
    typedef Alloc<_Tp1> other;
  };
  };
};
};
 
 

powered by: WebSVN 2.1.0

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