Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
gfortran.dg
/
c_f_pointer_tests_7.f90
blob: 8cabd18d1389f20e762d14aa3d2a509096dc3a81 [
file
] [
log
] [
blame
]
!
{
dg
-
do
compile
}
!
!
PR fortran
/
54263
!
use
iso_c_binding
type
(
c_ptr
)
::
cp
integer
,
pointer
::
p
call c_f_pointer
(
cp
,
p
,
shape
=[
2
])
!
{
dg
-
error
"Unexpected SHAPE argument at .1. to C_F_POINTER with scalar FPTR"
}
end