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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [eh/] [dead1.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR 6320
2
// Rechained the MUST_NOT_THROW region in the wrong order wrt the
3
// TRY/CATCH while removing them and got confused.
4
// { dg-do compile }
5
 
6
struct S {
7
  ~S();
8
};
9
 
10
void foo()
11
{
12
  try {
13
    return;
14
  }
15
  catch (int) {
16
  }
17
  catch (...) {
18
    S s;
19
  }
20
}

powered by: WebSVN 2.1.0

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