blob: 0cd56a684647efaebd2bded11baada833f45b594 [file] [log] [blame]
! { dg-do compile }
use iso_c_binding
implicit none
character(kind=c_char,len=256),target :: arg
type(c_ptr),pointer :: c
c = c_loc(arg) ! OK since Fortran 2003, Tech Corrigenda 5; IR F03/0129
end