Changeset 9d264e18 for tests


Ignore:
Timestamp:
Nov 12, 2020, 1:29:43 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
tests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/alloc-ERROR.txt

    rd6ad99e r9d264e18  
    1 alloc.cfa:361:1 error: No reasonable alternatives for expression Applying untyped:
     1alloc.cfa:382:1 error: No reasonable alternatives for expression Applying untyped:
    22  Name: ?=?
    33...to:
     
    1919
    2020
    21 alloc.cfa:362:1 error: No reasonable alternatives for expression Applying untyped:
     21alloc.cfa:383:1 error: No reasonable alternatives for expression Applying untyped:
    2222  Name: ?=?
    2323...to:
     
    3030
    3131
    32 alloc.cfa:363:1 error: No reasonable alternatives for expression Applying untyped:
     32alloc.cfa:384:1 error: No reasonable alternatives for expression Applying untyped:
    3333  Name: ?=?
    3434...to:
  • tests/alloc.cfa

    rd6ad99e r9d264e18  
    1010// Created On       : Wed Feb  3 07:56:22 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Oct  9 23:03:11 2020
    13 // Update Count     : 431
     12// Last Modified On : Thu Nov 12 10:02:18 2020
     13// Update Count     : 432
    1414//
    1515
     
    375375        dp = alloc(5.0`fill); // just for testing multiple free
    376376        assert(*dp == 5.0);
    377         free( ip, dp );
     377        free( ip, dp, 0p );
    378378
    379379#ifdef ERR1
  • tests/malloc.cfa

    rd6ad99e r9d264e18  
    319319        free(ip);
    320320
    321         free( (void*) 0p ); // sanity check
     321        free( (void *) 0p ); // sanity check
    322322        free( NULL ); // sanity check
    323323
     
    605605        return 0;
    606606}
     607
     608// Local Variables: //
     609// tab-width: 4 //
     610// compile-command: "cfa malloc.cfa" //
     611// End: //
  • tests/manipulatorsOutput3.cfa

    rd6ad99e r9d264e18  
    156156        sout | nl;
    157157
    158         ui128 = 0x7fffffffffffffff;
    159         ui128 <<= 64;
    160         ui128 += 0xffffffffffffffff;
    161158        sout | left( wd( 160, i128 ) );
    162159        sout | left( sign( wd( 0, i128 ) ) );
     
    177174        sout | left( wd( 160, bin( i128 ) ) );
    178175        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 ) ) ) );
    182179
    183180        x = 1234;
     
    316313        }
    317314
    318 
    319315        // int128 constants (and printing)
    320316        int128 v = 0xffff_ffffffff_ffffffff_L128 + 0xffffffff_ffffffff_ffffffff_ffffffff_L128;
Note: See TracChangeset for help on using the changeset viewer.