make cast.c independent of signedness of "char"
[pet.git] / tests / cast.scop
blob77aaecc70c312bba9c488f9450d6e7d2d8f6bc17
1 start: 44
2 end: 87
3 indent: "\t"
4 context: '[c] -> {  : c <= 127 and c >= -128 }'
5 schedule: '{ domain: "{ S_0[] }" }'
6 arrays:
7 - context: '{  :  }'
8   extent: '[c] -> { a[] }'
9   element_type: int
10   element_size: 4
11 statements:
12 - line: 7
13   domain: '[c] -> { S_0[] }'
14   body:
15     type: expression
16     expr:
17       type: op
18       operation: =
19       arguments:
20       - type: access
21         index: '[c] -> { S_0[] -> a[] }'
22         reference: __pet_ref_0
23         read: 0
24         write: 1
25       - type: cast
26         type_name: int
27         arguments:
28         - type: access
29           index: '[c] -> { S_0[] -> [(c)] }'
30           reference: __pet_ref_1
31           read: 1
32           write: 0