repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AArch64] SVE tests
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
assumed_rank_1_c.c
blob
85dd72db10390f7ce7b8680001df7d34f18a10ab
1
/* Called by assumed_rank_1.f90. */
2
3
#include <stdlib.h>
/* For abort(). */
4
5
struct
array
{
6
int
*
data
;
7
};
8
9
void
check_value_
(
struct
array
*
b
,
int
n
,
int
val
[])
10
{
11
int
i
;
12
13
for
(
i
=
0
;
i
<
n
;
i
++)
14
if
(
b
->
data
[
i
] !=
val
[
i
])
15
abort
();
16
}