repo.or.cz
/
pet.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
when autodetecting only skip initial declarations in outer scope
[pet.git]
/
tests
/
cast.scop
blob
789c7c16e7eea51344889c56e256c839a9da9bb8
1
start: 37
2
end: 80
3
context: '{ : }'
4
arrays:
5
- context: '{ : }'
6
extent: '{ a[] }'
7
element_type: int
8
element_size: 4
9
- context: '{ : }'
10
extent: '{ c[] }'
11
element_type: char
12
element_size: 1
13
statements:
14
- line: 7
15
domain: '{ S_0[] }'
16
schedule: '{ S_0[] -> [0] }'
17
body:
18
type: binary
19
operation: =
20
arguments:
21
- type: access
22
relation: '{ S_0[] -> a[] }'
23
index: '{ S_0[] -> a[] }'
24
reference: __pet_ref_0
25
read: 0
26
write: 1
27
- type: cast
28
type_name: int
29
arguments:
30
- type: access
31
relation: '{ S_0[] -> c[] }'
32
index: '{ S_0[] -> c[] }'
33
reference: __pet_ref_1
34
read: 1
35
write: 0