URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [interface_19.f90] - Rev 704
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }! PR33162 INTRINSIC functions as ACTUAL argument! Test case adapted from PR by Jerry DeLisle <jvdelisle@gcc.gnu.org>module mimplicit nonecontainssubroutine sub(a)optional :: acharacter(25) :: tempinterfacefunction a(x)real(kind=8):: areal(kind=8):: xintent(in) :: xend function aend interfaceif(present(a)) thenwrite(temp,'(f16.10)')a(4.0d0)if (trim(temp) /= ' -0.6536436209') call abortendifend subroutine subend module muse mimplicit noneintrinsic dcoscall sub()call sub(dcos)end! { dg-final { cleanup-modules "m" } }
Go to most recent revision | Compare with Previous | Blame | View Log
