URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 384 |
// { 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 {};
|
struct s {};
|
s array[] =
|
s array[] =
|
{
|
{
|
(fptr1)0
|
(fptr1)0
|
};// { dg-error "" }
|
};// { dg-error "" }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.