URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.bob/] [incomplete-cast1.C] - Rev 378
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// prms-id: 5274
class VHDLIdentifier;
class VHDLPackageProtoRep {
public:
int thing();
private:
virtual VHDLIdentifier &actual_name() ;
};
extern void form(const char *format, ... );
int
VHDLPackageProtoRep::thing()
{
form("package `%s'", (char *)actual_name()); // { dg-error "" } can't convert from incomplete type
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log