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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! Tests the fix for PR36700, in which the call to the function would
3
! cause an ICE.
4
!
5
! Contributed by 
6
!
7
module Diatoms
8
  implicit none
9
contains
10
  function InitialDiatomicX () result(v4)    ! { dg-error "has a type" }
11
    real(kind = 8), dimension(4) :: v4
12
    v4 = 1
13
  end function InitialDiatomicX
14
  subroutine FindDiatomicPeriod
15
    call InitialDiatomicX ()    ! { dg-error "which is not consistent with the CALL" }
16
  end subroutine FindDiatomicPeriod
17
end module Diatoms
18
! { dg-final { cleanup-modules "Diatoms" } }

powered by: WebSVN 2.1.0

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