OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [char_length_10.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! Checks the fix for PR33241, in which the assumed character
3
! length of the parameter was never filled in with that of
4
! the initializer.
5
!
6
! Contributed by Victor Prosolin 
7
!
8
PROGRAM fptest
9
  IMPLICIT NONE
10
  CHARACTER (LEN=*), DIMENSION(1),  PARAMETER :: var  = 'a'
11
  CALL parsef (var)
12
contains
13
  SUBROUTINE parsef (Var)
14
    IMPLICIT NONE
15
    CHARACTER (LEN=*), DIMENSION(:), INTENT(in) :: Var
16
  END SUBROUTINE parsef
17
END PROGRAM fptest

powered by: WebSVN 2.1.0

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