ieee_9.f90: XFAIL on arm*-*-gnueabi[hf].
[official-gcc.git] / gcc / testsuite / gfortran.dg / c_f_pointer_tests_7.f90
blob8cabd18d1389f20e762d14aa3d2a509096dc3a81
1 ! { dg-do compile }
3 ! PR fortran/54263
5 use iso_c_binding
6 type(c_ptr) :: cp
7 integer, pointer :: p
8 call c_f_pointer (cp, p, shape=[2]) ! { dg-error "Unexpected SHAPE argument at .1. to C_F_POINTER with scalar FPTR" }
9 end