Ignore:
Timestamp:
Jan 12, 2017, 11:31:57 AM (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:
3fe34ae
Parents:
075734f
Message:

Replace user main with custom main, prototype

Location:
src/tests/.expect/32
Files:
2 edited

Legend:

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

    r075734f r0270824  
    621621static inline volatile const short __f47__FCVs___1();
    622622static inline volatile const short __f48__FCVs___1();
    623 int main(int __argc__i_1, const char **__argv__PPCc_1){
     623int __main__Fi_iPPCc__1(int __argc__i_1, const char **__argv__PPCc_1){
    624624    int ___retval_main__i_1;
    625625    ((void)(___retval_main__i_1=((int )0)) /* ?{} */);
    626626    return ((int )___retval_main__i_1);
    627 }
     627    ((void)(___retval_main__i_1=0) /* ?{} */);
     628    return ((int )___retval_main__i_1);
     629}
     630int main(int argc, char** argv) { return __main__Fi_iPPCc__1(argc, argv); }
     631
  • src/tests/.expect/32/gccExtensions.txt

    r075734f r0270824  
    66extern int printf(const char *__restrict __format, ...);
    77extern int __x__i_1 asm ( "xx" );
    8 int main(int __argc__i_1, const char **__argv__PPCc_1){
     8int __main__Fi_iPPCc__1(int __argc__i_1, const char **__argv__PPCc_1){
    99    int ___retval_main__i_1;
    1010    asm ( "nop" :  :  :  );
     
    162162    ((void)(___retval_main__i_1=((int )0)) /* ?{} */);
    163163    return ((int )___retval_main__i_1);
     164    ((void)(___retval_main__i_1=0) /* ?{} */);
     165    return ((int )___retval_main__i_1);
    164166}
     167int main(int argc, char** argv) { return __main__Fi_iPPCc__1(argc, argv); }
Note: See TracChangeset for help on using the changeset viewer.