Changes in tests/alloc.cfa [10b5970:1911f37]
- File:
-
- 1 edited
-
tests/alloc.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/alloc.cfa
r10b5970 r1911f37 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.