postpone introduction of access relations
[pet.git] / tests / struct6.scop
blobc1f1286a24a8824c3c693c6dde30fe461d788c82
1 start: 51
2 end: 91
3 indent: "\t"
4 context: '{  :  }'
5 types:
6 - name: s
7   definition: "struct s {\n    int a;\n}"
8 arrays:
9 - context: '{  :  }'
10   extent: '{ s[i0] : i0 >= 0 }'
11   element_type: struct s
12   element_size: 4
13   element_is_record: 1
14 - context: '{  :  }'
15   extent: '{ s_a[s[i0] -> a[]] : i0 >= 0 }'
16   element_type: int
17   element_size: 4
18 statements:
19 - line: 10
20   domain: '{ S_0[] }'
21   schedule: '{ S_0[] -> [0] }'
22   body:
23     type: expression
24     expr:
25       type: op
26       operation: =
27       arguments:
28       - type: access
29         index: '{ S_0[] -> s_a[s[(0)] -> a[]] }'
30         reference: __pet_ref_0
31         read: 0
32         write: 1
33       - type: int
34         value: 5