Changes in tests/exceptions/trash.cfa [ecfd758:afe2939]
- File:
-
- 1 edited
-
tests/exceptions/trash.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/exceptions/trash.cfa
recfd758 rafe2939 3 3 #include <exception.hfa> 4 4 5 EHM_EXCEPTION(yin)(); 6 EHM_EXCEPTION(yang)(); 7 8 EHM_VIRTUAL_TABLE(yin, yin_vt); 9 EHM_VIRTUAL_TABLE(yang, yang_vt); 5 TRIVIAL_EXCEPTION(yin); 6 TRIVIAL_EXCEPTION(yang); 10 7 11 8 int main(int argc, char * argv[]) { 12 9 try { 13 10 try { 14 throw (yin){ &yin_vt};11 throw (yin){}; 15 12 } finally { 16 13 try { 17 throw (yang){ &yang_vt};14 throw (yang){}; 18 15 } catch (yin *) { 19 16 printf("inner yin\n");
Note:
See TracChangeset
for help on using the changeset viewer.