URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.bugs/] [900321_04.C] - Rev 20
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
// g++ 1.37.1 bug 900321_04
// The following code causes g++ to segfault.
// Cfront 2.0 passes this test.
// keywords: segfault, object declaration, pointer, array, incomplete type
struct incomplete;
void function ()
{
struct incomplete (*ptr)[]; // causes segfault
}
int main () { return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log