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
add pet_expr_map_top_down
[pet.git]
/
tests
/
struct3.c
blob
e2f0cf8f90d7e2e2c1c5e1638b2c8092fb321294
1
struct
s
{
2
int
a
[
30
][
40
];
3
};
4
5
void
foo
()
6
{
7
struct
s s
[
10
][
20
];
8
9
#pragma scop
10
for
(
int
i
=
0
;
i
<
10
; ++
i
)
11
for
(
int
j
=
0
;
j
<
20
; ++
j
)
12
for
(
int
k
=
0
;
k
<
30
; ++
k
)
13
for
(
int
l
=
0
;
l
<
40
; ++
l
)
14
s
[
i
][
j
].
a
[
k
][
l
] =
i
+
j
+
k
+
l
;
15
#pragma endscop
16
}