Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.eh / crash6.C
blob7151cbfe3740864458023dd04d1b86f2648e9a57
1 // { dg-do assemble  }
2 // 
3 // Copyright (C) 2001 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 26 April 2001 <nathan@codesourcery.com>
5 // Origin: schmid@snake.iap.physik.tu-darmstadt.de
7 // Bug 2368. When checking shadowed catchers, we didn't ignore
8 // template type parms etc, leading to an ICE
10 template<class CatchType1, class CatchType2>
11 void call(int& a)
13   try 
14     {
15       
16     }
17   catch (CatchType1&)
18     { 
19       
20     }
21   catch (CatchType2&)
22     { 
23       
24     }