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/] [func_decl_3.f90] - Blame information for rev 310

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! Tests the fix for PR24325 in which the lack of any declaration
3
! that foo is a function or even a procedure was not detected.
4
!
5
! Contributed by Jakub Jelinek 
6
!
7
  integer foo
8
  call test
9
contains
10
  subroutine test
11
    integer :: i
12
    i = foo () ! { dg-error "is not a function" }
13
  end subroutine test
14
end
15
 

powered by: WebSVN 2.1.0

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