URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [misc7.C] - Rev 414
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed MI
struct S1 { };
struct S2 : S1 { };
struct S3 : S1 { };
struct S4 : S3, S2 { };
struct S1 *p1;
struct S4 *p4;
void foobar ()
{
p1 = p4; // { dg-error "" } this is illegal// ERROR - .*
}
Go to most recent revision | Compare with Previous | Blame | View Log