4 ! Consecutive array and substring references rejected as C_LOC argument
6 ! contributed by Scot Breitenfield <brtnfld@hdfgroup.org>
10 CHARACTER(LEN
=2), DIMENSION(1:2) :: c
12 TYPE(test
), TARGET
:: chrScalar
15 f_ptr
= C_LOC(chrScalar
%c(1)(1:1))