source: src/tests/.expect/64/extension.txt @ 21ea170

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 21ea170 was 21ea170, checked in by Rob Schluntz <rschlunt@…>, 6 years ago

Update 64-bit tests for struct field constructor forward declarations

  • Property mode set to 100644
File size: 6.7 KB
Line 
1__attribute__ ((__nothrow__,__leaf__,__malloc__)) extern void *malloc(unsigned long 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 signed int atexit(void (*__func)(void));
5__attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void exit(signed int __status);
6extern signed int printf(const char *__restrict __format, ...);
7__extension__ signed int __a__i_1;
8__extension__ signed int __b__i_1;
9__extension__ signed int __c__i_1;
10__extension__ struct S {
11    __extension__ signed int __a__i_1;
12    __extension__ signed int __b__i_1;
13    __extension__ signed int __c__i_1;
14};
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_R2sSi_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1);
20static inline void ___constructor__F_R2sSii_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1, signed int __b__i_1);
21static inline void ___constructor__F_R2sSiii_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1, signed int __b__i_1, signed int __c__i_1);
22static inline void ___constructor__F_R2sS_autogen___1(struct S *___dst__R2sS_1){
23    ((void)((*___dst__R2sS_1).__a__i_1) /* ?{} */);
24    ((void)((*___dst__R2sS_1).__b__i_1) /* ?{} */);
25    ((void)((*___dst__R2sS_1).__c__i_1) /* ?{} */);
26}
27static inline void ___constructor__F_R2sS2sS_autogen___1(struct S *___dst__R2sS_1, struct S ___src__2sS_1){
28    ((void)((*___dst__R2sS_1).__a__i_1=___src__2sS_1.__a__i_1) /* ?{} */);
29    ((void)((*___dst__R2sS_1).__b__i_1=___src__2sS_1.__b__i_1) /* ?{} */);
30    ((void)((*___dst__R2sS_1).__c__i_1=___src__2sS_1.__c__i_1) /* ?{} */);
31}
32static inline void ___destructor__F_R2sS_autogen___1(struct S *___dst__R2sS_1){
33    ((void)((*___dst__R2sS_1).__c__i_1) /* ^?{} */);
34    ((void)((*___dst__R2sS_1).__b__i_1) /* ^?{} */);
35    ((void)((*___dst__R2sS_1).__a__i_1) /* ^?{} */);
36}
37static inline struct S ___operator_assign__F2sS_R2sS2sS_autogen___1(struct S *___dst__R2sS_1, struct S ___src__2sS_1){
38    struct S ___ret__2sS_1;
39    ((void)((*___dst__R2sS_1).__a__i_1=___src__2sS_1.__a__i_1));
40    ((void)((*___dst__R2sS_1).__b__i_1=___src__2sS_1.__b__i_1));
41    ((void)((*___dst__R2sS_1).__c__i_1=___src__2sS_1.__c__i_1));
42    ((void)___constructor__F_R2sS2sS_autogen___1((&___ret__2sS_1), ___src__2sS_1));
43    return ___ret__2sS_1;
44}
45static inline void ___constructor__F_R2sSi_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1){
46    ((void)((*___dst__R2sS_1).__a__i_1=__a__i_1) /* ?{} */);
47    ((void)((*___dst__R2sS_1).__b__i_1) /* ?{} */);
48    ((void)((*___dst__R2sS_1).__c__i_1) /* ?{} */);
49}
50static inline void ___constructor__F_R2sSii_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1, signed int __b__i_1){
51    ((void)((*___dst__R2sS_1).__a__i_1=__a__i_1) /* ?{} */);
52    ((void)((*___dst__R2sS_1).__b__i_1=__b__i_1) /* ?{} */);
53    ((void)((*___dst__R2sS_1).__c__i_1) /* ?{} */);
54}
55static inline void ___constructor__F_R2sSiii_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1, signed int __b__i_1, signed int __c__i_1){
56    ((void)((*___dst__R2sS_1).__a__i_1=__a__i_1) /* ?{} */);
57    ((void)((*___dst__R2sS_1).__b__i_1=__b__i_1) /* ?{} */);
58    ((void)((*___dst__R2sS_1).__c__i_1=__c__i_1) /* ?{} */);
59}
60__extension__ union U {
61    __extension__ signed int __a__i_1;
62    __extension__ signed int __b__i_1;
63    __extension__ signed int __c__i_1;
64};
65static inline void ___constructor__F_R2uU_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1){
66}
67static inline void ___constructor__F_R2uU2uU_autogen___1(union U *___dst__R2uU_1, union U ___src__2uU_1){
68    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U )));
69}
70static inline void ___destructor__F_R2uU_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1){
71}
72static inline union U ___operator_assign__F2uU_R2uU2uU_autogen___1(union U *___dst__R2uU_1, union U ___src__2uU_1){
73    union U ___ret__2uU_1;
74    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U )));
75    ((void)___constructor__F_R2uU2uU_autogen___1((&___ret__2uU_1), ___src__2uU_1));
76    return ___ret__2uU_1;
77}
78static inline void ___constructor__F_R2uUi_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1, signed int __src__i_1){
79    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&__src__i_1)), sizeof(signed int )));
80}
81__extension__ enum E {
82    __R__C2eE_1,
83    __G__C2eE_1,
84    __B__C2eE_1,
85};
86__extension__ signed int __f__Fi___1();
87__extension__ signed int i;
88__extension__ signed int j;
89__extension__ signed int __fred__Fi_i__1(signed int __p__i_1){
90    __attribute__ ((unused)) signed int ___retval_fred__i_1;
91    __extension__ struct S {
92        __extension__ signed int __a__i_2;
93        __extension__ signed int __b__i_2;
94        __extension__ signed int __c__i_2;
95        __extension__ signed int *__x__Pi_2;
96        __extension__ signed int *__y__Pi_2;
97        __extension__ signed int *__z__Pi_2;
98    };
99    signed int __i__i_2 = (__extension__ __a__i_1+__extension__ 3);
100    ((void)__extension__ 3);
101    ((void)__extension__ __a__i_1);
102    __extension__ signed int __a__i_2;
103    __extension__ signed int __b__i_2;
104    __extension__ signed int __c__i_2;
105    ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
106    signed int _tmp_cp_ret0;
107    ((void)(((void)(_tmp_cp_ret0=__extension__ __fred__Fi_i__1(3))) , _tmp_cp_ret0));
108    ((void)(_tmp_cp_ret0) /* ^?{} */);
109    __extension__ signed int __mary__Fi_i__2(signed int __p__i_2){
110        __attribute__ ((unused)) signed int ___retval_mary__i_2;
111    }
112    ((void)__extension__ sizeof(3));
113    ((void)__extension__ (((signed int )(3!=((signed int )0))) || ((signed int )(4!=((signed int )0)))));
114    ((void)__extension__ __alignof__(__extension__ __a__i_2));
115    ((void)(((signed int )(__extension__ __a__i_2!=((signed int )0))) || ((signed int )((((signed int )(__extension__ __b__i_2!=((signed int )0))) && ((signed int )(__extension__ __c__i_2!=((signed int )0))))!=((signed int )0)))));
116    ((void)(((signed int )((__extension__ __a__i_2>__extension__ __b__i_2)!=((signed int )0))) ? __extension__ __c__i_2 : __extension__ __c__i_2));
117    ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
118    ((void)(((void)(((void)__extension__ __a__i_2) , __extension__ __b__i_2)) , __extension__ __c__i_2));
119}
Note: See TracBrowser for help on using the repository browser.