- Timestamp:
- Nov 12, 2020, 1:29:43 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:
- b5344a3
- Parents:
- d6ad99e (diff), 8ca26d5 (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:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/alloc-ERROR.txt
rd6ad99e r9d264e18 1 alloc.cfa:3 61:1 error: No reasonable alternatives for expression Applying untyped:1 alloc.cfa:382:1 error: No reasonable alternatives for expression Applying untyped: 2 2 Name: ?=? 3 3 ...to: … … 19 19 20 20 21 alloc.cfa:3 62:1 error: No reasonable alternatives for expression Applying untyped:21 alloc.cfa:383:1 error: No reasonable alternatives for expression Applying untyped: 22 22 Name: ?=? 23 23 ...to: … … 30 30 31 31 32 alloc.cfa:3 63:1 error: No reasonable alternatives for expression Applying untyped:32 alloc.cfa:384:1 error: No reasonable alternatives for expression Applying untyped: 33 33 Name: ?=? 34 34 ...to: -
tests/alloc.cfa
rd6ad99e r9d264e18 10 10 // Created On : Wed Feb 3 07:56:22 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Oct 9 23:03:11202013 // Update Count : 43 112 // Last Modified On : Thu Nov 12 10:02:18 2020 13 // Update Count : 432 14 14 // 15 15 … … 375 375 dp = alloc(5.0`fill); // just for testing multiple free 376 376 assert(*dp == 5.0); 377 free( ip, dp );377 free( ip, dp, 0p ); 378 378 379 379 #ifdef ERR1 -
tests/malloc.cfa
rd6ad99e r9d264e18 319 319 free(ip); 320 320 321 free( (void *) 0p ); // sanity check321 free( (void *) 0p ); // sanity check 322 322 free( NULL ); // sanity check 323 323 … … 605 605 return 0; 606 606 } 607 608 // Local Variables: // 609 // tab-width: 4 // 610 // compile-command: "cfa malloc.cfa" // 611 // End: // -
tests/manipulatorsOutput3.cfa
rd6ad99e r9d264e18 156 156 sout | nl; 157 157 158 ui128 = 0x7fffffffffffffff;159 ui128 <<= 64;160 ui128 += 0xffffffffffffffff;161 158 sout | left( wd( 160, i128 ) ); 162 159 sout | left( sign( wd( 0, i128 ) ) ); … … 177 174 sout | left( wd( 160, bin( i128 ) ) ); 178 175 sout | left( sign( wd( 160, i128 ) ) ); 179 sout | left( wd( 160, upcase( hex( i128 )) ) );180 sout | left( wd( 160, upcase( oct( i128 ) )) );181 sout | left( wd( 160, upcase( bin( i128 )) ) );176 sout | left( wd( 160, upcase( hex( i128 ) ) ) ); 177 sout | left( wd( 160, upcase( oct( i128 ) ) ) ); 178 sout | left( wd( 160, upcase( bin( i128 ) ) ) ); 182 179 183 180 x = 1234; … … 316 313 } 317 314 318 319 315 // int128 constants (and printing) 320 316 int128 v = 0xffff_ffffffff_ffffffff_L128 + 0xffffffff_ffffffff_ffffffff_ffffffff_L128;
Note: See TracChangeset
for help on using the changeset viewer.