URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [crash60.C] - Rev 154
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed old-abort
class X
{
public:
X ();
int f[4];
};
// Note that we mistakenly initialize the array data member as if it
// was scalar
X::X () : f (0) {}// { dg-error "" } .*
Go to most recent revision | Compare with Previous | Blame | View Log