- Timestamp:
- Apr 6, 2020, 4:41:55 PM (4 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
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/errors/.expect/completeType.txt
r057298e rf1b6671 27 27 void 28 28 ) 29 Environment:( _85_ 4_DT ) -> instance of struct A with body 0 (no widening)29 Environment:( _85_2_DT ) -> instance of struct A with body 0 (no widening) 30 30 31 31 … … 50 50 void 51 51 ) 52 Environment:( _85_ 4_DT ) -> instance of struct B with body 1 (no widening)52 Environment:( _85_2_DT ) -> instance of struct B with body 1 (no widening) 53 53 54 54 -
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 -
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 -
tests/exceptions/.expect/terminate.txt
r057298e rf1b6671 24 24 caught second exception 25 25 recaught first exception 26 27 inner catch 28 outer catch -
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 } -
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 } -
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.