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