Changes in tests/alloc.cfa [1911f37:10b5970]
- File:
-
- 1 edited
-
tests/alloc.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/alloc.cfa
r1911f37 r10b5970 10 10 // Created On : Wed Feb 3 07:56:22 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Sep 24 18:21:09 202513 // Update Count : 49 312 // Last Modified On : Tue Apr 23 14:04:11 2024 13 // Update Count : 492 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 372 364 // extras 373 365 sout | nl;
Note:
See TracChangeset
for help on using the changeset viewer.