2 // check EH with templates
3 extern "C" void abort ();
4 extern "C" void exit (int);
6 template <class T, int n, class U> struct A {
13 throw *(new A<double, 47, A<int, 37, short> >);
18 throw *(new A<double, 47, A<int, 36, short> >);
23 throw A<double, 47, A<int, 37, short> > ("howdy");
28 throw A<double, 47, A<int, 36, short> > ("hi michey");
39 catch (A<double, 47, A<int, 36, short> >) {
42 catch (A<double, 47, A<int, 37, short> >) {
52 catch (A<double, 47, A<int, 36, short&> >) {
55 catch (A<double, 47, A<int, 36, short> >) {
65 catch (A<double, 47, A<int, 36, short> >) {
68 catch (A<double, 47, A<int, 37, short> >) {
78 catch (A<double, 47, A<int, 36, short&> >) {
81 catch (A<double, 47, A<int, 36, short> >) {