URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [pr35144.C] - Rev 301
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/35144
// { dg-do compile }
// { dg-options "-O2" }
struct A
{
int baz ();
};
typedef int (A::*P) ();
struct B
{
B ();
int foo (P x, int y = 0);
};
struct C
{
typedef int (B::*Q) (P, int);
void bar (Q x) { c = x; }
Q c;
};
extern C c;
B::B ()
{
c.bar ((C::Q) &B::foo);
}
Go to most recent revision | Compare with Previous | Blame | View Log