Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/c_f_pointer_tests_7.f90 @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { 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