- Timestamp:
- Sep 24, 2025, 6:31:58 PM (5 months ago)
- Branches:
- master, stuck-waitfor-destruct
- Children:
- 843bce5
- Parents:
- 78bc398 (diff), 1911f37 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- tests
- Files:
-
- 2 edited
-
.expect/alloc.txt (modified) (1 diff)
-
alloc.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/alloc.txt
r78bc398 r3d02803 76 76 42 42.5, 42 42.5, 42 42.5, 42 42.5, 42 42.5, 42 42.5, 42 42.5, 42 42.5, 42 42.5, 42 42.5, 77 77 42 42.5, 42 42.5, 42 42.5, 42 42.5, 42 42.5, 42 42.5, 42 42.5, 42 42.5, 42 42.5, 42 42.5, 78 ctor 79 ctor 80 ctor 81 ctor 82 ctor 83 ctor 84 ctor 85 ctor 86 ctor 87 ctor 88 ctor 89 ctor 90 ctor 91 ctor 92 ctor 93 dtor 94 dtor 95 dtor 96 dtor 97 dtor 98 dtor 99 dtor 100 dtor 101 dtor 102 dtor 103 dtor 104 dtor 105 dtor 106 dtor 107 dtor 78 108 79 109 pointer arithmetic 0 -
tests/alloc.cfa
r78bc398 r3d02803 10 10 // Created On : Wed Feb 3 07:56:22 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Apr 23 14:04:11 202413 // Update Count : 49 212 // Last Modified On : Wed Sep 24 18:21:09 2025 13 // Update Count : 493 14 14 // 15 15 … … 362 362 assert( const_count == 2 + 2 * dim && dest_count == 2 + 2 * dim); // assertion for testing 363 363 364 struct Empty {}; 365 void ?{}( Empty & ) { sout | "ctor"; } 366 void ^?{}( Empty & ) { sout | "dtor"; } 367 Empty * ea1 = anew( 5 ); 368 Empty * ea2 = anew( 5 ); 369 Empty * ea3 = anew( 5 ); 370 adelete( ea1, ea2, ea3 ); 371 364 372 // extras 365 373 sout | nl;
Note:
See TracChangeset
for help on using the changeset viewer.