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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.eh/] [crash6.C] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
//
3
// Copyright (C) 2001 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 26 April 2001 
5
// Origin: schmid@snake.iap.physik.tu-darmstadt.de
6
 
7
// Bug 2368. When checking shadowed catchers, we didn't ignore
8
// template type parms etc, leading to an ICE
9
 
10
template
11
void call(int& a)
12
{
13
  try
14
    {
15
 
16
    }
17
  catch (CatchType1&)
18
    {
19
 
20
    }
21
  catch (CatchType2&)
22
    {
23
 
24
    }
25
}
26
 

powered by: WebSVN 2.1.0

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