URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
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
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.