URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [eh/] [cleanup5.C] - Rev 328
Go to most recent revision | Compare with Previous | Blame | View Log
// PR 17907
// { dg-do compile }
// { dg-options "" }
// We lost a CLEANUP_POINT_EXPR, leading to a crash destroying temp of A.
struct String {
~String();
int size() const;
};
struct CodingSystem {
String convertOut() const;
};
void inputOpened(CodingSystem *outputCodingSystem)
{
char filePath[outputCodingSystem->convertOut().size()];
}
Go to most recent revision | Compare with Previous | Blame | View Log