pet_scop_add: plug memory leak on error path
[pet.git] / tests / unsigned3.scop
blob3cac588c44eb0759629eb6e9bb4368d733ab594a
1 context: '{  :  }'
2 arrays:
3 - context: '{  :  }'
4   extent: '{ a[] }'
5   element_type: int
6   element_size: 4
7 statements:
8 - line: 8
9   domain: '{ S_0[k] : k >= 0 and k <= 255 }'
10   schedule: '{ S_0[k] -> [0, o1] : exists (e0 = [(-k + o1)/256]: 256e0 = -k + o1 and
11     o1 >= 252 and k >= 0 and k <= 255) }'
12   body:
13     type: binary
14     operation: =
15     arguments:
16     - type: access
17       relation: '{ S_0[k] -> a[] }'
18       read: 0
19       write: 1
20     - type: access
21       relation: '{ S_0[k] -> [5] }'
22       read: 1
23       write: 0