Changeset 19de7864 for tests/queue.cfa
- Timestamp:
- Dec 17, 2020, 12:28:03 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 7522692
- Parents:
- 28e88d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/queue.cfa
r28e88d7 r19de7864 16 16 Fred *& Next( Fred * n ) { 17 17 return (Fred *)Next( (Colable *)n ); 18 }19 20 bool listed( Fred * n ) {21 return Next( (Colable *)n ) != 0p;22 18 } 23 19 … … 76 72 77 73 Mary *& Next( Mary * n ) { 78 return (Mary *)Next( (Colable *)n ); 79 } 80 81 bool listed( Mary * n ) { 82 return Next( (Colable *)n ) != 0p; 74 return (Mary *)Next( (Fred *)n ); 83 75 } 84 76
Note: See TracChangeset
for help on using the changeset viewer.