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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [whole_file_17.f90] - Blame information for rev 302

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do "compile" }
2
! { dg-options "-fwhole-file" }
3
!
4
! PR fortran/30668
5
!
6
 
7
integer(8) function two()
8
  two = 2
9
end function two
10
 
11
CHARACTER(len=8) function string()
12
  string = "gfortran"
13
end function string
14
 
15
 
16
program xx
17
  INTEGER :: a
18
  CHARACTER(len=4) :: s, string   ! { dg-error "Character length mismatch" }
19
 
20
  a = two()                       ! { dg-error "Return type mismatch" }
21
  s = string()
22
end program xx

powered by: WebSVN 2.1.0

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