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++.brendan/] [crash48.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do compile }
// GROUPS passed old-abort
class internal { // { dg-error "internal::internal" }
int field;
int anotherfield;
};
class bug { // { dg-error "bug::bug" }
internal* numbers;
bug(int size);
};
bug::bug(int size) // { dg-error "bug::bug" }
{
numbers = new internal(size * size);// { dg-error "no match" }
}
int
main()
{
bug test; // { dg-error "no match" }
}