OpenCores
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] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! PR 45576 - no ICE for missing optional argument
3
! Test case supplied by Joost VandeVondele
4
SUBROUTINE get_r_val()
5
  INTEGER, PARAMETER :: default_string_length=128
6
  CHARACTER(len=default_string_length) :: c_val
7
  LOGICAL                              :: check
8
  check = c_val(LEN_TRIM(c_val):LEN_TRIM(c_val))=="]"
9
END SUBROUTINE get_r_val

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.