Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gfortran.dg
/
c-interop
/
note-5-4-c.c
blob: ab278460a580e645923e672bf803c77fb70fdcbb [
file
] [
log
] [
blame
]
#include
<ISO_Fortran_binding.h>
extern
int
test_rank
(
CFI_cdesc_t
*
a
);
int
test_rank
(
CFI_cdesc_t
*
a
)
{
if
(!
a
)
return
-
1
;
/* Should not happen. */
return
a
->
rank
;
}