Changeset f1b6671 for tests/exceptions
- Timestamp:
- Apr 6, 2020, 4:41:55 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- e276be6
- Parents:
- 057298e
- Location:
- tests/exceptions
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tests/exceptions/.expect/interact.txt ¶
r057298e rf1b6671 14 14 resumption catch, will terminate 15 15 inner termination catch 16 17 throwing resume moon 18 resumption moon catch, will terminate 19 termination catch 20 throwing resume star 21 resumption star catch -
TabularUnified tests/exceptions/.expect/resume.txt ¶
r057298e rf1b6671 25 25 caught second exception 26 26 recaught first exception 27 28 inner catch 29 inner catch 30 outer catch -
TabularUnified tests/exceptions/.expect/terminate.txt ¶
r057298e rf1b6671 24 24 caught second exception 25 25 recaught first exception 26 27 inner catch 28 outer catch -
TabularUnified tests/exceptions/interact.cfa ¶
r057298e rf1b6671 86 86 printf("outer terminate catch (error)\n"); 87 87 } 88 #if 089 88 printf("\n"); 90 89 … … 111 110 printf("outermost catch (error)\n"); 112 111 } 113 #endif114 112 } -
TabularUnified tests/exceptions/resume.cfa ¶
r057298e rf1b6671 99 99 printf("caught second exception (bad location)\n"); 100 100 } 101 printf("\n"); 102 103 // Check successive operations. 104 try { 105 try { 106 THROW_RESUME(&(zen){}); 107 THROW_RESUME(&(zen){}); 108 } catchResume (zen *) { 109 printf("inner catch\n"); 110 } 111 THROW_RESUME(&(zen){}); 112 } catchResume (zen *) { 113 printf("outer catch\n"); 114 } 101 115 } -
TabularUnified tests/exceptions/terminate.cfa ¶
r057298e rf1b6671 99 99 printf("caught second exception (bad location)\n"); 100 100 } 101 printf("\n"); 102 103 // Check successive operations. 104 try { 105 try { 106 THROW(&(zen){}); 107 THROW(&(zen){}); 108 } catch (zen *) { 109 printf("inner catch\n"); 110 } 111 THROW(&(zen){}); 112 } catch (zen *) { 113 printf("outer catch\n"); 114 } 101 115 }
Note: See TracChangeset
for help on using the changeset viewer.