URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [same_name_2.f90] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }! Tests the fix for PR27701, in which two same name procedures! were not diagnosed if they had no arguments.!! Contributed by Arjen Markus <arjen.markus@wldelft.nl>!module ahacontainssubroutine aa ! { dg-error "Procedure" }write(*,*) 'AA'end subroutine aasubroutine aa ! { dg-error "is already defined" }write(*,*) 'BB'end subroutine aaend module! { dg-final { cleanup-modules "aha" } }
Go to most recent revision | Compare with Previous | Blame | View Log
