URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [allocatable_scalar_11.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }!! PR fortran/46484!function g()implicit noneinteger, allocatable :: gcall int()print *, loc(g) ! OKcontainssubroutine int()print *, loc(g) ! OKprint *, allocated(g) ! OKend subroutine intend functionimplicit noneinteger, allocatable :: xprint *, allocated(f) ! { dg-error "must be a variable" }print *, loc(f) ! OKcontainsfunction f()integer, allocatable :: fprint *, loc(f) ! OKprint *, allocated(f) ! OKend functionend
