%set debug_print_ccode = true main module ranger3 declare C is structure Joe : integer range 1..10 endstructure B is structure This_C : C endstructure A is structure This_B : B endstructure This_A : static A a4_type is array[1..5] of integer a3_type is structure a3: integer a4: a4_type endstructure a2_type is structure a2: a3_type endstructure a1_type is structure a1: a2_type endstructure a0 = a1_type(a1: a2_type(a2: a3_type(a3: 12345, a4: a4_type([1]:234,[2]:3,[3]:4,[4]:567,[5]:6)))) enddeclare This_A . This_B . This_C . Joe := a0.a1.a2.a4[1] This_A . This_B . This_C . Joe := a0.a1.a2.a4[2] This_A . This_B . This_C . Joe := a0.a1.a2.a4[3] This_A . This_B . This_C . Joe := a0.a1.a2.a4[4] This_A . This_B . This_C . Joe := a0.a1.a2.a4[5] endmodule