URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
! ( dg-do compile }
|
! ( dg-do compile }
|
! Tests the fix for PR27701, in which two same name procedures
|
! Tests the fix for PR27701, in which two same name procedures
|
! were not diagnosed if they had no arguments.
|
! were not diagnosed if they had no arguments.
|
!
|
!
|
! Contributed by Arjen Markus
|
! Contributed by Arjen Markus
|
!
|
!
|
module aha
|
module aha
|
contains
|
contains
|
subroutine aa ! { dg-error "Procedure" }
|
subroutine aa ! { dg-error "Procedure" }
|
write(*,*) 'AA'
|
write(*,*) 'AA'
|
end subroutine aa
|
end subroutine aa
|
subroutine aa ! { dg-error "is already defined" }
|
subroutine aa ! { dg-error "is already defined" }
|
write(*,*) 'BB'
|
write(*,*) 'BB'
|
end subroutine aa
|
end subroutine aa
|
end module
|
end module
|
! { dg-final { cleanup-modules "aha" } }
|
! { dg-final { cleanup-modules "aha" } }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.