source: src/tests/.expect/64/extension.txt @ bb31ee6

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 bb31ee6 was cd218e8, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago

update tests after changing names of basic types, extending the IO test, and adding a literal test

  • Property mode set to 100644
File size: 6.4 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_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) /* ?{} */);
23}
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) /* ?{} */);
28}
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) /* ^?{} */);
33}
34static inline struct S ___operator_assign__F2sS_R2sS2sS_autogen___1(struct S *___dst__R2sS_1, struct S ___src__2sS_1){
35    struct S ___ret__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));
40    return ((struct S )___ret__2sS_1);
41}
42static inline void ___constructor__F_R2sSi_autogen___1(struct S *___dst__R2sS_1, signed 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) /* ?{} */);
46}
47static inline void ___constructor__F_R2sSii_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1, signed 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) /* ?{} */);
51}
52static 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){
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) /* ?{} */);
56}
57__extension__ union U {
58    __extension__ signed int __a__i_1;
59    __extension__ signed int __b__i_1;
60    __extension__ signed int __c__i_1;
61};
62static inline void ___constructor__F_R2uU_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1){
63}
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 )));
66}
67static inline void ___destructor__F_R2uU_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1){
68}
69static inline union U ___operator_assign__F2uU_R2uU2uU_autogen___1(union U *___dst__R2uU_1, union U ___src__2uU_1){
70    union U ___ret__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));
73    return ((union U )___ret__2uU_1);
74}
75static inline void ___constructor__F_R2uUi_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1, signed int __src__i_1){
76    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&__src__i_1)), sizeof(signed int )));
77}
78__extension__ enum E {
79    __R__C2eE_1,
80    __G__C2eE_1,
81    __B__C2eE_1,
82};
83__extension__ signed int __f__Fi___1();
84__extension__ signed int i;
85__extension__ signed int j;
86__extension__ signed int __fred__Fi_i__1(signed int __p__i_1){
87    __attribute__ ((unused)) signed int ___retval_fred__i_1;
88    __extension__ struct S {
89        __extension__ signed int __a__i_2;
90        __extension__ signed int __b__i_2;
91        __extension__ signed int __c__i_2;
92        __extension__ signed int *__x__Pi_2;
93        __extension__ signed int *__y__Pi_2;
94        __extension__ signed int *__z__Pi_2;
95    };
96    signed int __i__i_2 = ((signed int )(__extension__ __a__i_1+__extension__ 3));
97    ((void)__extension__ 3);
98    ((void)__extension__ __a__i_1);
99    __extension__ signed int __a__i_2;
100    __extension__ signed int __b__i_2;
101    __extension__ signed int __c__i_2;
102    ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
103    signed int _tmp_cp_ret0;
104    ((void)(((void)(_tmp_cp_ret0=__extension__ __fred__Fi_i__1(3))) , _tmp_cp_ret0));
105    ((void)(_tmp_cp_ret0) /* ^?{} */);
106    __extension__ signed int __mary__Fi_i__2(signed int __p__i_2){
107        __attribute__ ((unused)) signed int ___retval_mary__i_2;
108    }
109    ((void)__extension__ sizeof(3));
110    ((void)__extension__ (((signed int )(3!=((signed int )0))) || ((signed int )(4!=((signed int )0)))));
111    ((void)__extension__ __alignof__(__extension__ __a__i_2));
112    ((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)))));
113    ((void)(((signed int )((__extension__ __a__i_2>__extension__ __b__i_2)!=((signed 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)(((void)(((void)__extension__ __a__i_2) , __extension__ __b__i_2)) , __extension__ __c__i_2));
116}
Note: See TracBrowser for help on using the repository browser.