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++.dg/] [template/] [access17.C] - Diff between revs 149 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
// PR c++/27339
// PR c++/27339
class A
class A
{
{
private:
private:
  enum private_enum {a};
  enum private_enum {a};
  template  // OK
  template  // OK
  struct B
  struct B
  {
  {
    void bm();
    void bm();
  };
  };
public:
public:
  void am()
  void am()
  {
  {
    B instance; //OK
    B instance; //OK
    instance.bm();
    instance.bm();
  }
  }
};
};
template  // FAIL
template  // FAIL
void
void
A::B::bm(){}
A::B::bm(){}
 
 

powered by: WebSVN 2.1.0

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