3 storage: idata, xdata, code,
7 #if defined(PORT_HOST) || defined(SDCC_z80) || defined(SDCC_gbz80)
19 struct x {storage} teststruct[3] = {
20 { 10, { 1, 2, 3, 4, 5} },
28 ASSERT(teststruct[0].b[5] == 0);
29 ASSERT(teststruct[1].b[0] == 11);
31 ASSERT(sizeof(teststruct[2].a) == 2);
32 ASSERT(sizeof(teststruct[1].b) == 10);
33 ASSERT(sizeof(teststruct[1]) == 12);
34 ASSERT(sizeof(teststruct) == 36);