URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [char_length_18.f90] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
! PR 45576 - no ICE for missing optional argument
! Test case supplied by Joost VandeVondele
SUBROUTINE get_r_val()
INTEGER, PARAMETER :: default_string_length=128
CHARACTER(len=default_string_length) :: c_val
LOGICAL :: check
check = c_val(LEN_TRIM(c_val):LEN_TRIM(c_val))=="]"
END SUBROUTINE get_r_val
Go to most recent revision | Compare with Previous | Blame | View Log