Lines Matching refs:caught
27 int caught;
30 caught = 0;
33 catch(D *p) { caught = 1; if (p != d) abort();}
35 if (!caught) abort();
37 caught = 0;
40 catch(B *p) { caught = 1; if (p != d) abort();}
42 if (!caught) abort();
44 caught = 0;
47 catch(C *p) { caught = 1; if (p != d) abort();}
49 if (!caught) abort();
52 caught = 0;
55 catch(A *p) { caught = 1; if (p != (B *)d) abort();}
57 if (!caught) abort();
59 caught = 0;
62 catch(A *p) { caught = 1; if (p != (A *)(C *)d) abort();}
64 if (!caught) abort();
67 caught = 0;
69 catch(A *p) { caught = 1; if (p != (B *)d) abort();}
71 if (!caught) abort();
73 caught = 0;
75 catch(B *p) { caught = 1; if (p != d) abort();}
77 if (!caught) abort();
79 caught = 0;
83 catch(...) { caught =1; }
84 if (!caught) abort();
86 caught = 0;
89 catch(C *p) { caught = 1; if (p != d) abort();}
91 if (!caught) abort();
93 caught = 0;
97 catch(...) { caught =1; }
98 if (!caught) abort();