Changeset 4cb935e for src/tests


Ignore:
Timestamp:
Dec 1, 2016, 12:46:34 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
78b3f52
Parents:
148f7290
Message:

0 and 1 now properly parse and resolve to zero_t and one_t respectively

Location:
src/tests/.expect
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • src/tests/.expect/32/declarationSpecifier.txt

    r148f7290 r4cb935e  
    623623int main(int __argc__i_1, const char **__argv__PPCc_1){
    624624    int _retVal0 = { 0 };
    625     ((void)(_retVal0=0) /* ?{} */);
     625    ((void)(_retVal0=((int )0)) /* ?{} */);
    626626    return ((int )_retVal0);
    627627}
  • src/tests/.expect/32/extension.txt

    r148f7290 r4cb935e  
    101101    ((void)(_tmp_cp_ret3) /* ^?{} */);
    102102    ((void)__extension__ sizeof(3));
    103     ((void)__extension__ (((int )(3!=0)) || ((int )(4!=0))));
     103    ((void)__extension__ (((int )(3!=((int )0))) || ((int )(4!=((int )0)))));
    104104    ((void)__extension__ __alignof__(__extension__ __a__i_2));
    105     ((void)(((int )(__extension__ __a__i_2!=0)) || ((int )((((int )(__extension__ __b__i_2!=0)) && ((int )(__extension__ __c__i_2!=0)))!=0))));
    106     ((void)(((int )((__extension__ __a__i_2>__extension__ __b__i_2)!=0)) ? __extension__ __c__i_2 : __extension__ __c__i_2));
     105    ((void)(((int )(__extension__ __a__i_2!=((int )0))) || ((int )((((int )(__extension__ __b__i_2!=((int )0))) && ((int )(__extension__ __c__i_2!=((int )0))))!=((int )0)))));
     106    ((void)(((int )((__extension__ __a__i_2>__extension__ __b__i_2)!=((int )0))) ? __extension__ __c__i_2 : __extension__ __c__i_2));
    107107    ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
    108108    ((void)((__extension__ __a__i_2 , __extension__ __b__i_2) , __extension__ __c__i_2));
  • src/tests/.expect/32/gccExtensions.txt

    r148f7290 r4cb935e  
    158158    int __m3__A0A0i_2[((unsigned int )10)][((unsigned int )10)];
    159159    int _retVal0 = { 0 };
    160     ((void)(_retVal0=0) /* ?{} */);
     160    ((void)(_retVal0=((int )0)) /* ?{} */);
    161161    return ((int )_retVal0);
    162162}
  • src/tests/.expect/64/declarationSpecifier.txt

    r148f7290 r4cb935e  
    623623int main(int __argc__i_1, const char **__argv__PPCc_1){
    624624    int _retVal0 = { 0 };
    625     ((void)(_retVal0=0) /* ?{} */);
     625    ((void)(_retVal0=((int )0)) /* ?{} */);
    626626    return ((int )_retVal0);
    627627}
  • src/tests/.expect/64/extension.txt

    r148f7290 r4cb935e  
    101101    ((void)(_tmp_cp_ret3) /* ^?{} */);
    102102    ((void)__extension__ sizeof(3));
    103     ((void)__extension__ (((int )(3!=0)) || ((int )(4!=0))));
     103    ((void)__extension__ (((int )(3!=((int )0))) || ((int )(4!=((int )0)))));
    104104    ((void)__extension__ __alignof__(__extension__ __a__i_2));
    105     ((void)(((int )(__extension__ __a__i_2!=0)) || ((int )((((int )(__extension__ __b__i_2!=0)) && ((int )(__extension__ __c__i_2!=0)))!=0))));
    106     ((void)(((int )((__extension__ __a__i_2>__extension__ __b__i_2)!=0)) ? __extension__ __c__i_2 : __extension__ __c__i_2));
     105    ((void)(((int )(__extension__ __a__i_2!=((int )0))) || ((int )((((int )(__extension__ __b__i_2!=((int )0))) && ((int )(__extension__ __c__i_2!=((int )0))))!=((int )0)))));
     106    ((void)(((int )((__extension__ __a__i_2>__extension__ __b__i_2)!=((int )0))) ? __extension__ __c__i_2 : __extension__ __c__i_2));
    107107    ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
    108108    ((void)((__extension__ __a__i_2 , __extension__ __b__i_2) , __extension__ __c__i_2));
  • src/tests/.expect/64/gccExtensions.txt

    r148f7290 r4cb935e  
    158158    int __m3__A0A0i_2[((long unsigned int )10)][((long unsigned int )10)];
    159159    int _retVal0 = { 0 };
    160     ((void)(_retVal0=0) /* ?{} */);
     160    ((void)(_retVal0=((int )0)) /* ?{} */);
    161161    return ((int )_retVal0);
    162162}
Note: See TracChangeset for help on using the changeset viewer.