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++.dg/] [init/] [ptrfn3.C] - Diff between revs 301 and 338

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

Rev 301 Rev 338
// { dg-options "" }
// { dg-options "" }
// { dg-do compile }
// { dg-do compile }
// C++/30221
// C++/30221
// We would ICE while trying to reshape the pointer to
// We would ICE while trying to reshape the pointer to
// member function element which is not needed.
// member function element which is not needed.
class abstract {};
class abstract {};
typedef void (abstract::*fptr1) (short & s ) const;
typedef void (abstract::*fptr1) (short & s ) const;
struct s {fptr1 f;};
struct s {fptr1 f;};
s array[] =
s array[] =
{
{
 (fptr1)0
 (fptr1)0
};
};
 
 

powered by: WebSVN 2.1.0

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