OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [init/] [ptrfn3.C] - Blame information for rev 853

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-options "" }
2
// { dg-do compile }
3
// C++/30221
4
// We would ICE while trying to reshape the pointer to
5
// member function element which is not needed.
6
 
7
 
8
class abstract {};
9
typedef void (abstract::*fptr1) (short & s ) const;
10
struct s {fptr1 f;};
11
s array[] =
12
{
13
 (fptr1)0
14
};

powered by: WebSVN 2.1.0

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