URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [interface_21.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }! PR33162 INTRINSIC functions as ACTUAL argument! Test case adapted from PR by Jerry DeLisle <jvdelisle@gcc.gnu.org>module mimplicit nonecontainssubroutine sub(a)interfacefunction a(x)real :: a, xintent(in) :: xend function aend interfaceprint *, a(4.0)end subroutine subend module muse mimplicit noneEXTERNAL foo ! implicit interface is undefinedcall sub(foo) ! { dg-error "is not a function" }end! { dg-final { cleanup-modules "m" } }
