3 storage: idata, xdata, code,
7 #if defined(PORT_HOST) || defined(SDCC_z80) || defined(SDCC_gbz80)
18 struct x {storage} teststruct[6] = {
19 { 10, { 1, 2, 3, 4, 5} },
27 ASSERT(teststruct[0].b[1] == 2);
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) == 72);