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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [same_name_2.f90] - Blame information for rev 237

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

Line No. Rev Author Line
1 149 jeremybenn
! ( dg-do compile }
2
! Tests the fix for PR27701, in which two same name procedures
3
! were not diagnosed if they had no arguments.
4
!
5
! Contributed by Arjen Markus  
6
!
7
module aha
8
contains
9
subroutine aa ! { dg-error "Procedure" }
10
   write(*,*) 'AA'
11
end subroutine aa
12
subroutine aa ! { dg-error "is already defined" }
13
   write(*,*) 'BB'
14
end subroutine aa
15
end module
16
! { dg-final { cleanup-modules "aha" } }

powered by: WebSVN 2.1.0

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