postpone introduction of access relations
[pet.git] / tests / struct1.scop
blob618120eff3cd63aeb68f3bf5abc0ab4c7bad0f1d
1 start: 50
2 end: 89
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[] }'
11   element_type: struct s
12   element_size: 4
13   element_is_record: 1
14 - context: '{  :  }'
15   extent: '{ s_a[s[] -> a[]] }'
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[] -> a[]] }'
30         reference: __pet_ref_0
31         read: 0
32         write: 1
33       - type: int
34         value: 5