URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [c_char_tests_2.f03] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do run }! Verify that the changes made to character dummy arguments for bind(c)! procedures doesn't break non-bind(c) routines.! PR fortran/32732subroutine bar(a)use, intrinsic :: iso_c_binding, only: c_charcharacter(c_char), value :: aif(a /= c_char_'a') call abort()end subroutine barsubroutine bar2(a)use, intrinsic :: iso_c_binding, only: c_charcharacter(c_char) :: aif(a /= c_char_'a') call abort()end subroutine bar2use iso_c_bindingimplicit noneinterfacesubroutine bar(a)importcharacter(c_char),value :: aend subroutine barsubroutine bar2(a)importcharacter(c_char) :: aend subroutine bar2end interfacecharacter(c_char) :: zz = 'a'call bar(z)call bar2(z)end
