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