* arm.md (stack_tie): New insn. Use an idiom that the alias code
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.eh / ptrmem1.C
blobba70612033bf352d15b2f5a5284d3e630fef307f
1 extern "C" void exit (int);
2 extern "C" void abort (void);
3 struct A { int i; };
4 int main ()
6   try { throw &A::i; }
7   catch (int A::*p)
8     {
9       if (p == &A::i)
10         exit (0);
11       else
12         abort ();
13     }
14   abort ();