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/] [crash48.C] - Rev 853
Go to most recent revision | 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" }
}
Go to most recent revision | Compare with Previous | Blame | View Log