☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
c_loc_tests_3.f03
☽
☼
gcc/testsuite/gfortran.dg/c_loc_tests_3.f03
code
plain
raw
1
! { dg-do compile }
2
use iso_c_binding
3
implicit none
4
character(kind=c_char,len=256),target :: arg
5
type(c_ptr),pointer :: c
6
c = c_loc(arg) ! OK since Fortran 2003, Tech Corrigenda 5; IR F03/0129
7
8
end