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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [straret.f90] - Blame information for rev 867

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

Line No. Rev Author Line
1 149 jeremybenn
! Test assumed length character functions.
2
 
3
character*(*) function f()
4
  f = "Hello"
5
end function
6
 
7
character*6 function g()
8
  g = "World"
9
end function
10
 
11
program straret
12
  character*6 f, g
13
  character*12 v
14
 
15
 
16
  v = f() //  g()
17
  if (v .ne. "Hello World ") call abort ()
18
end program

powered by: WebSVN 2.1.0

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