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
pet 0.11.8
[pet.git]
/
tests
/
inline9.c
blob
525b30bce4bca97382f0c32af2826ead4de72ea0
1
struct
s
{
2
int
a
[
30
][
40
];
3
int
b
[
50
];
4
};
5
6
void
g
(
struct
s
*
u
)
7
{
8
for
(
int
i
=
0
;
i
<
10
; ++
i
)
9
for
(
int
j
=
0
;
j
<
10
; ++
j
)
10
u
->
a
[
10
+
i
][
20
+
j
] =
i
+
j
;
11
u
->
b
[
5
] =
1
;
12
}
13
14
inline
void
h
(
struct
s t
[
20
])
15
{
16
int
a
=
0
;
17
for
(
int
i
=
0
;
i
<
20
; ++
i
)
18
g
(&
t
[
i
]);
19
}
20
21
void
f
()
22
{
23
struct
s s
[
10
][
20
];
24
25
#pragma scop
26
int
a
=
1
;
27
for
(
int
i
=
0
;
i
<
10
; ++
i
)
28
h
(
s
[
i
]);
29
#pragma endscop
30
}