URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [selected_real_kind_1.f90] - Rev 686
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do "compile" }
!
! PR fortran/44347 - arguments of SELECTED_REAL_KIND shall be scalar
! Testcase contributed by Vittorio Zecca <zeccav AT gmail DOT com>
!
dimension ip(1), ir(1)
i = selected_real_kind(ip, i) ! { dg-error "must be a scalar" }
j = selected_real_kind(i, ir) ! { dg-error "must be a scalar" }
end
Go to most recent revision | Compare with Previous | Blame | View Log