Ignore:
Timestamp:
Jan 28, 2025, 10:11:24 PM (2 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
49510db
Parents:
2e0bb92 (diff), bada452 (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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tests/collections/stack.cfa

    r2e0bb92 rc699602  
    2828        }
    2929        sout | "empty" | nl;
    30        
     30
    3131        for ( i; 10 ) {
    3232                push( fred, *new( 2 * i ) );
     
    3939
    4040        sout | head( fred ).i | nl;
    41        
     41
    4242        for ( i; 9 ) {
    4343                delete( &pop( fred ) );
     
    4848        }
    4949        sout | nl;
    50        
     50
    5151        for ( i; 10 ) {
    5252                push( fred, *new( 2 * i + 1 ) );
     
    6767                int j;
    6868        };
     69        __attribute__((unused))
    6970        void ?{}( Mary & mary ) { abort(); }
    7071        void ?{}( Mary & mary, int p ) with( mary ) {
     
    8586        }
    8687        sout | "empty" | nl;
    87        
     88
    8889        for ( i; 10 ) {
    8990                push( mary, *new( 2 * i ) );
     
    9495        }
    9596        sout | nl;
    96        
     97
    9798        for ( i; 9 ) {
    9899                delete( &pop( mary ) );
     
    103104        }
    104105        sout | nl;
    105        
     106
    106107        for ( i; 10 ) {
    107108                push( mary, *new( 2 * i + 1 ) );
Note: See TracChangeset for help on using the changeset viewer.