OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [char_length_6.f90] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
!
3
program test
4
  character(2_8) :: c(2)
5
  logical :: l(2)
6
 
7
  c = "aa"
8
  l = c .eq. "aa"
9
  if (any (.not. l)) call abort
10
 
11
  call foo ([c(1)])
12
  l = c .eq. "aa"
13
  if (any (.not. l)) call abort
14
 
15
contains
16
 
17
  subroutine foo (c)
18
    character(2) :: c(1)
19
  end subroutine foo
20
 
21
end

powered by: WebSVN 2.1.0

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