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++.mike/] [p4484.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  }
// prms-id: 4484
// prms-id: 4484
class A {
class A {
  char buf[64];
  char buf[64];
};
};
typedef void (A::*pmf)();
typedef void (A::*pmf)();
typedef void (A::*pmfc)() const;
typedef void (A::*pmfc)() const;
pmfc p = (pmfc)(pmf)0;
pmfc p = (pmfc)(pmf)0;
class B {
class B {
};
};
class D : public A, public B {
class D : public A, public B {
};
};
typedef int (B::*bmfp)();
typedef int (B::*bmfp)();
typedef int (D::*dmfp)();
typedef int (D::*dmfp)();
bmfp foo;
bmfp foo;
void bar(dmfp a) {
void bar(dmfp a) {
  bar(foo);
  bar(foo);
}
}
 
 

powered by: WebSVN 2.1.0

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