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