URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [interface_21.f90] - Rev 302
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" } }
