pet_scop_add: plug memory leak on error path
[pet.git] / tests / label.scop
blob14b1838a4d99331d5f71a94596a96dac03448774
1 context: '{  :  }'
2 arrays:
3 - context: '{  :  }'
4   extent: '{ a[] }'
5   element_type: int
6 statements:
7 - line: 6
8   domain: '{ A[] }'
9   schedule: '{ A[] -> [0] }'
10   body:
11     type: binary
12     operation: =
13     arguments:
14     - type: access
15       relation: '{ A[] -> a[] }'
16       read: 0
17       write: 1
18     - type: access
19       relation: '{ A[] -> [5] }'
20       read: 1
21       write: 0
22 - line: 7
23   domain: '{ B[] }'
24   schedule: '{ B[] -> [1] }'
25   body:
26     type: binary
27     operation: =
28     arguments:
29     - type: access
30       relation: '{ B[] -> a[] }'
31       read: 0
32       write: 1
33     - type: access
34       relation: '{ B[] -> [7] }'
35       read: 1
36       write: 0