Ignore:
Timestamp:
Jul 27, 2017, 2:02:36 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
7d49b72
Parents:
25bd9074
Message:

Update more tests for references

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/.expect/64/extension.txt

    r25bd9074 r00e80b6  
    1313    __extension__ int __c__i_1;
    1414};
    15 static inline void ___constructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1);
    16 static inline void ___constructor__F_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1);
    17 static inline void ___destructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1);
    18 static inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1);
    19 static inline void ___constructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1){
    20     ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))) /* ?{} */);
    21     ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))) /* ?{} */);
    22     ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ?{} */);
     15static inline void ___constructor__F_R2sS_autogen___1(struct S *___dst__R2sS_1);
     16static inline void ___constructor__F_R2sS2sS_autogen___1(struct S *___dst__R2sS_1, struct S ___src__2sS_1);
     17static inline void ___destructor__F_R2sS_autogen___1(struct S *___dst__R2sS_1);
     18static inline struct S ___operator_assign__F2sS_R2sS2sS_autogen___1(struct S *___dst__R2sS_1, struct S ___src__2sS_1);
     19static inline void ___constructor__F_R2sS_autogen___1(struct S *___dst__R2sS_1){
     20    ((void)((*___dst__R2sS_1).__a__i_1) /* ?{} */);
     21    ((void)((*___dst__R2sS_1).__b__i_1) /* ?{} */);
     22    ((void)((*___dst__R2sS_1).__c__i_1) /* ?{} */);
    2323}
    24 static inline void ___constructor__F_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1){
    25     ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))=___src__2sS_1.__a__i_1) /* ?{} */);
    26     ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))=___src__2sS_1.__b__i_1) /* ?{} */);
    27     ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))=___src__2sS_1.__c__i_1) /* ?{} */);
     24static inline void ___constructor__F_R2sS2sS_autogen___1(struct S *___dst__R2sS_1, struct S ___src__2sS_1){
     25    ((void)((*___dst__R2sS_1).__a__i_1=___src__2sS_1.__a__i_1) /* ?{} */);
     26    ((void)((*___dst__R2sS_1).__b__i_1=___src__2sS_1.__b__i_1) /* ?{} */);
     27    ((void)((*___dst__R2sS_1).__c__i_1=___src__2sS_1.__c__i_1) /* ?{} */);
    2828}
    29 static inline void ___destructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1){
    30     ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ^?{} */);
    31     ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))) /* ^?{} */);
    32     ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))) /* ^?{} */);
     29static inline void ___destructor__F_R2sS_autogen___1(struct S *___dst__R2sS_1){
     30    ((void)((*___dst__R2sS_1).__c__i_1) /* ^?{} */);
     31    ((void)((*___dst__R2sS_1).__b__i_1) /* ^?{} */);
     32    ((void)((*___dst__R2sS_1).__a__i_1) /* ^?{} */);
    3333}
    34 static inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1){
     34static inline struct S ___operator_assign__F2sS_R2sS2sS_autogen___1(struct S *___dst__R2sS_1, struct S ___src__2sS_1){
    3535    struct S ___ret__2sS_1;
    36     ((void)((*___dst__P2sS_1).__a__i_1=___src__2sS_1.__a__i_1));
    37     ((void)((*___dst__P2sS_1).__b__i_1=___src__2sS_1.__b__i_1));
    38     ((void)((*___dst__P2sS_1).__c__i_1=___src__2sS_1.__c__i_1));
    39     ((void)___constructor__F_P2sS2sS_autogen___1((&___ret__2sS_1), ___src__2sS_1));
     36    ((void)((*___dst__R2sS_1).__a__i_1=___src__2sS_1.__a__i_1));
     37    ((void)((*___dst__R2sS_1).__b__i_1=___src__2sS_1.__b__i_1));
     38    ((void)((*___dst__R2sS_1).__c__i_1=___src__2sS_1.__c__i_1));
     39    ((void)___constructor__F_R2sS2sS_autogen___1((&___ret__2sS_1), ___src__2sS_1));
    4040    return ((struct S )___ret__2sS_1);
    4141}
    42 static inline void ___constructor__F_P2sSi_autogen___1(struct S *___dst__P2sS_1, int __a__i_1){
    43     ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))=__a__i_1) /* ?{} */);
    44     ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))) /* ?{} */);
    45     ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ?{} */);
     42static inline void ___constructor__F_R2sSi_autogen___1(struct S *___dst__R2sS_1, int __a__i_1){
     43    ((void)((*___dst__R2sS_1).__a__i_1=__a__i_1) /* ?{} */);
     44    ((void)((*___dst__R2sS_1).__b__i_1) /* ?{} */);
     45    ((void)((*___dst__R2sS_1).__c__i_1) /* ?{} */);
    4646}
    47 static inline void ___constructor__F_P2sSii_autogen___1(struct S *___dst__P2sS_1, int __a__i_1, int __b__i_1){
    48     ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))=__a__i_1) /* ?{} */);
    49     ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))=__b__i_1) /* ?{} */);
    50     ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ?{} */);
     47static inline void ___constructor__F_R2sSii_autogen___1(struct S *___dst__R2sS_1, int __a__i_1, int __b__i_1){
     48    ((void)((*___dst__R2sS_1).__a__i_1=__a__i_1) /* ?{} */);
     49    ((void)((*___dst__R2sS_1).__b__i_1=__b__i_1) /* ?{} */);
     50    ((void)((*___dst__R2sS_1).__c__i_1) /* ?{} */);
    5151}
    52 static inline void ___constructor__F_P2sSiii_autogen___1(struct S *___dst__P2sS_1, int __a__i_1, int __b__i_1, int __c__i_1){
    53     ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))=__a__i_1) /* ?{} */);
    54     ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))=__b__i_1) /* ?{} */);
    55     ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))=__c__i_1) /* ?{} */);
     52static inline void ___constructor__F_R2sSiii_autogen___1(struct S *___dst__R2sS_1, int __a__i_1, int __b__i_1, int __c__i_1){
     53    ((void)((*___dst__R2sS_1).__a__i_1=__a__i_1) /* ?{} */);
     54    ((void)((*___dst__R2sS_1).__b__i_1=__b__i_1) /* ?{} */);
     55    ((void)((*___dst__R2sS_1).__c__i_1=__c__i_1) /* ?{} */);
    5656}
    5757__extension__ union U {
     
    6060    __extension__ int __c__i_1;
    6161};
    62 static inline void ___constructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){
     62static inline void ___constructor__F_R2uU_autogen___1(union U *___dst__R2uU_1){
    6363}
    64 static inline void ___constructor__F_P2uU2uU_autogen___1(union U *___dst__P2uU_1, union U ___src__2uU_1){
    65     ((void)__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U )));
     64static inline void ___constructor__F_R2uU2uU_autogen___1(union U *___dst__R2uU_1, union U ___src__2uU_1){
     65    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U )));
    6666}
    67 static inline void ___destructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){
     67static inline void ___destructor__F_R2uU_autogen___1(union U *___dst__R2uU_1){
    6868}
    69 static inline union U ___operator_assign__F2uU_P2uU2uU_autogen___1(union U *___dst__P2uU_1, union U ___src__2uU_1){
     69static inline union U ___operator_assign__F2uU_R2uU2uU_autogen___1(union U *___dst__R2uU_1, union U ___src__2uU_1){
    7070    union U ___ret__2uU_1;
    71     ((void)__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U )));
    72     ((void)___constructor__F_P2uU2uU_autogen___1((&___ret__2uU_1), ___src__2uU_1));
     71    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U )));
     72    ((void)___constructor__F_R2uU2uU_autogen___1((&___ret__2uU_1), ___src__2uU_1));
    7373    return ((union U )___ret__2uU_1);
    7474}
    75 static inline void ___constructor__F_P2uUi_autogen___1(union U *___dst__P2uU_1, int __src__i_1){
    76     ((void)__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&__src__i_1)), sizeof(int )));
     75static inline void ___constructor__F_R2uUi_autogen___1(union U *___dst__R2uU_1, int __src__i_1){
     76    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&__src__i_1)), sizeof(int )));
    7777}
    7878__extension__ enum E {
     
    102102    ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
    103103    int _tmp_cp_ret0;
    104     ((void)((_tmp_cp_ret0=__extension__ __fred__Fi_i__1(3)) , _tmp_cp_ret0));
    105     ((void)((*((int *)(&_tmp_cp_ret0)))) /* ^?{} */);
     104    ((void)(((void)(_tmp_cp_ret0=__extension__ __fred__Fi_i__1(3))) , _tmp_cp_ret0));
     105    ((void)(_tmp_cp_ret0) /* ^?{} */);
    106106    __extension__ int __mary__Fi_i__2(int __p__i_2){
    107107        __attribute__ ((unused)) int ___retval_mary__i_2;
     
    113113    ((void)(((int )((__extension__ __a__i_2>__extension__ __b__i_2)!=((int )0))) ? __extension__ __c__i_2 : __extension__ __c__i_2));
    114114    ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
    115     ((void)((__extension__ __a__i_2 , __extension__ __b__i_2) , __extension__ __c__i_2));
     115    ((void)(((void)(((void)__extension__ __a__i_2) , __extension__ __b__i_2)) , __extension__ __c__i_2));
    116116}
Note: See TracChangeset for help on using the changeset viewer.