1 /* Test return of struct / union
3 type: char, int, long, long long
9 #ifndef __SDCC_pdk14 // Lack of memory
10 #if !defined(__SDCC_ds390) && !defined(__SDCC_ds390) && !defined(__SDCC_hc08) && !defined(__SDCC_s08) && !defined(__SDCC_mos6502) && !defined(__SDCC_mos65c02) // struct return not yet supported
41 r
= f(); // Assignment of returned struct
47 return f().a
+ f().b
; // Access to member of returned struct
53 r
= g(); // Assignment of returned struct
59 return g().a
+ 1; // Access to member of returned struct
66 #if !defined(__SDCC_ds390) && !defined(__SDCC_ds390) && !defined(__SDCC_hc08) && !defined(__SDCC_s08) && !defined(__SDCC_mos6502) && !defined(__SDCC_mos65c02) // struct return not yet supported
67 #ifndef __SDCC_pdk14 // Lack of memory