source: src/tests/.expect/32/extension.txt @ 55f5c59

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 55f5c59 was 6a4f3d4, checked in by Rob Schluntz <rschlunt@…>, 8 years ago

update test output to account for additional copy constructor calls

  • Property mode set to 100644
File size: 6.1 KB
Line 
1__attribute__ ((__nothrow__,__leaf__,__malloc__)) extern void *malloc(unsigned int __size);
2__attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr);
3__attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void abort(void);
4__attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern int atexit(void (*__func)(void));
5__attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void exit(int __status);
6extern int printf(const char *__restrict __format, ...);
7__extension__ int __a__i_1;
8__extension__ int __b__i_1;
9__extension__ int __c__i_1;
10__extension__ struct S {
11    __extension__ int __a__i_1;
12    __extension__ int __b__i_1;
13    __extension__ int __c__i_1;
14};
15static inline void ___constructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1);
16static inline void ___constructor__F_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1);
17static inline void ___destructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1);
18static inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1);
19static 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)))) /* ?{} */);
23}
24static 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) /* ?{} */);
28}
29static 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)))) /* ^?{} */);
33}
34static inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1){
35    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));
40    return ((struct S )___ret__2sS_1);
41}
42static 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)))) /* ?{} */);
46}
47static 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)))) /* ?{} */);
51}
52static 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) /* ?{} */);
56}
57__extension__ union U {
58    __extension__ int __a__i_1;
59    __extension__ int __b__i_1;
60    __extension__ int __c__i_1;
61};
62static inline void ___constructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){
63}
64static 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 )));
66}
67static inline void ___destructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){
68}
69static inline union U ___operator_assign__F2uU_P2uU2uU_autogen___1(union U *___dst__P2uU_1, union U ___src__2uU_1){
70    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));
73    return ((union U )___ret__2uU_1);
74}
75static 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 )));
77}
78__extension__ enum E {
79    __R__C2eE_1,
80    __G__C2eE_1,
81    __B__C2eE_1,
82};
83__extension__ int __f__Fi___1();
84__extension__ int i;
85__extension__ int j;
86__extension__ int __fred__Fi_i__1(int __p__i_1){
87    int ___retval_fred__i_1;
88    __extension__ struct S {
89        __extension__ int __a__i_2;
90        __extension__ int __b__i_2;
91        __extension__ int __c__i_2;
92        __extension__ int *__x__Pi_2;
93        __extension__ int *__y__Pi_2;
94        __extension__ int *__z__Pi_2;
95    };
96    int __i__i_2 = ((int )(__extension__ __a__i_1+__extension__ 3));
97    ((void)__extension__ 3);
98    ((void)__extension__ __a__i_1);
99    __extension__ int __a__i_2;
100    __extension__ int __b__i_2;
101    __extension__ int __c__i_2;
102    ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
103    int _tmp_cp_ret0;
104    ((void)((_tmp_cp_ret0=__extension__ __fred__Fi_i__1(3)) , _tmp_cp_ret0));
105    ((void)((*((int *)(&_tmp_cp_ret0)))) /* ^?{} */);
106    __extension__ int __mary__Fi_i__2(int __p__i_2){
107        int ___retval_mary__i_2;
108    }
109    ((void)__extension__ sizeof(3));
110    ((void)__extension__ (((int )(3!=((int )0))) || ((int )(4!=((int )0)))));
111    ((void)__extension__ __alignof__(__extension__ __a__i_2));
112    ((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)))));
113    ((void)(((int )((__extension__ __a__i_2>__extension__ __b__i_2)!=((int )0))) ? __extension__ __c__i_2 : __extension__ __c__i_2));
114    ((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));
116}
Note: See TracBrowser for help on using the repository browser.