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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
  character(len=1) :: s
3
  character(len=0) :: s0
4
  s = " "
5
  s0 = ""
6
  call bar ("")
7
  call bar (s)
8
  call bar (s0)
9
  call bar (trim(s))
10
  call bar (min(s0,s0))
11
contains
12
  subroutine bar (s)
13
    character(len=*), optional :: s
14
    if (.not. present (S)) call abort
15
  end subroutine bar
16
end

powered by: WebSVN 2.1.0

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