URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [nothrow-1.C] - Rev 12
Compare with Previous | Blame | View Log
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-cfg" } */
double a;
void t()
{
a=1;
}
void t1(void);
void abort(void);
void q()
{
try {
t();
}
catch (...) {abort();}
}
/* We shouldnotice nothrow attribute. */
/* { dg-final { scan-tree-dump-times "exception" 0 "cfg"} } */
/* { dg-final { cleanup-tree-dump "cfg" } } */