take into account that unsigned iterators may wrap
[pet.git] / tests / empty_domain.scop
blob823233fa9940fdcc6d7b80276deac8a48396f694
1 context: '[N] -> { [] : N >= 0 }'
2 arrays:
3 - context: '[N] -> { [] : N >= 0 }'
4   extent: '[N] -> { a[i0] : i0 >= 0 and i0 <= -1 + N }'
5   element_type: int
6 statements:
7 - line: 9
8   domain: '[N] -> { S_0[i] : 1 = 0 }'
9   schedule: '[N] -> { S_0[i] -> [0, i] }'
10   body:
11     type: binary
12     operation: =
13     arguments:
14     - type: access
15       relation: '[N] -> { S_0[i] -> a[i] }'
16       read: 0
17       write: 1
18     - type: access
19       relation: '[N] -> { S_0[i] -> [i] }'
20       read: 1
21       write: 0