Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/assumed_rank_1_c.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Called by assumed_rank_1.f90. */ #include <stdlib.h> /* For abort(). */ struct array { int *data; }; void check_value_ (struct array *b, int n, int val[]) { int i; for (i = 0; i < n; i++) if (b->data[i] != val[i]) abort (); }