Changeset 6ea0408


Ignore:
Timestamp:
Feb 16, 2018, 3:49:02 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
62cd621
Parents:
24c3b67
Message:

fixed format and output for printing fill character

Location:
src/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/tests/.expect/alloc.txt

    r24c3b67 r6ea0408  
    1010CFA array alloc, no fill
    11110xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef
    12 CFA array alloc, fill 0xffffffff
     12CFA array alloc, fill 0xff
    13130xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff
    1414
  • src/tests/alloc.c

    r24c3b67 r6ea0408  
    1010// Created On       : Wed Feb  3 07:56:22 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Feb 14 17:52:36 2018
    13 // Update Count     : 328
     12// Last Modified On : Fri Feb 16 15:42:31 2018
     13// Update Count     : 330
    1414//
    1515
     
    7979
    8080        p = alloc( 2 * dim, fill );                         // CFA array alloc, fill
    81         printf( "CFA array alloc, fill %#x\n", fill );
     81        printf( "CFA array alloc, fill %#hhx\n", fill );
    8282        for ( int i = 0; i < 2 * dim; i += 1 ) { printf( "%#x ", p[i] ); }
    8383        printf( "\n" );
Note: See TracChangeset for help on using the changeset viewer.