URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [c_ptr_tests_5.f03] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }module c_ptr_tests_5use, intrinsic :: iso_c_bindingtype, bind(c) :: my_f90_typeinteger(c_int) :: iend type my_f90_typecontainssubroutine sub0(c_struct) bind(c)type(c_ptr), value :: c_structtype(my_f90_type) :: f90_typecall c_f_pointer(c_struct, f90_type) ! { dg-error "must be a pointer" }end subroutine sub0end module c_ptr_tests_5
