URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [generic_13.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }! tests the patch for PR30870, in which the generic XX was rejected! because the specific with the same name was not looked for.!! Contributed by Joost VandeVondele <jv244@cam.ac.uk>!MODULE TESTINTERFACE xxMODULE PROCEDURE xxEND INTERFACEpublic :: xxCONTAINSSUBROUTINE xx(i)INTEGER :: II=7END SUBROUTINEENDMODULE TOOCONTAINSSUBROUTINE SUB(xx,I)INTERFACESUBROUTINE XX(I)INTEGER :: IEND SUBROUTINEEND INTERFACECALL XX(I)END SUBROUTINEEND MODULE TOOPROGRAM TTUSE TESTUSE TOOINTEGER :: ICALL SUB(xx,I)IF (I.NE.7) CALL ABORT()END PROGRAM! { dg-final { cleanup-modules "test too" } }
