PetScan::set_upper_bounds: use declared size of static array argument
[pet.git] / tests / array.scop
blob39697ff49cab7cdf85b1195fd042b1584a5400b8
1 start: 76
2 end: 115
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ A[i0] : i0 >= 0 }'
8   element_type: const int
9   element_size: 4
10 - context: '{  :  }'
11   extent: '{ B[i0] : i0 >= 0 }'
12   element_type: int
13   element_size: 4
14 statements:
15 - line: 6
16   domain: '{ S_0[] }'
17   schedule: '{ S_0[] -> [0] }'
18   body:
19     type: expression
20     expr:
21       type: call
22       name: f
23       arguments:
24       - type: access
25         relation: '{ S_0[] -> A[o0] }'
26         index: '{ S_0[] -> A[] }'
27         reference: __pet_ref_0
28         read: 1
29         write: 0
30       - type: access
31         relation: '{ S_0[] -> B[o0] }'
32         index: '{ S_0[] -> B[] }'
33         reference: __pet_ref_1
34         read: 0
35         write: 1