Changes in tests/exceptions/trash.cfa [3bf9d10:d00d581]
- File:
-
- 1 edited
-
tests/exceptions/trash.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/exceptions/trash.cfa
r3bf9d10 rd00d581 1 1 // Make sure throw-catch during unwind does not trash internal data. 2 3 #include <fstream.hfa>4 2 5 3 exception yin {}; … … 17 15 throw (yang){&yang_vt}; 18 16 } catch (yin *) { 19 sout | "inner yin";17 printf("inner yin\n"); 20 18 } catch (yang *) { 21 sout | "inner yang";19 printf("inner yang\n"); 22 20 } 23 21 } 24 22 } catch (yin *) { 25 sout | "outer yin";23 printf("outer yin\n"); 26 24 } catch (yang *) { 27 sout | "outer yang";25 printf("outer yang\n"); 28 26 } 29 27 }
Note:
See TracChangeset
for help on using the changeset viewer.