OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [eh/] [dead1.C] - Diff between revs 154 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
// PR 6320
// PR 6320
// Rechained the MUST_NOT_THROW region in the wrong order wrt the
// Rechained the MUST_NOT_THROW region in the wrong order wrt the
// TRY/CATCH while removing them and got confused.
// TRY/CATCH while removing them and got confused.
// { dg-do compile }
// { dg-do compile }
struct S {
struct S {
  ~S();
  ~S();
};
};
void foo()
void foo()
{
{
  try {
  try {
    return;
    return;
  }
  }
  catch (int) {
  catch (int) {
  }
  }
  catch (...) {
  catch (...) {
    S s;
    S s;
  }
  }
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.