URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [entry_7.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }! { dg-options "-std=legacy" }!! Check that PR20877 and PR25047 are fixed by the patch for! PR24558. Both modules would emit the error:! insert_bbt(): Duplicate key found!! because of the prior references to a module function entry.!! Contributed by Joost VandeVondele <jv244@cam.ac.uk>!MODULE TTCONTAINSFUNCTION K(I) RESULT(J)ENTRY J() ! { dg-error "conflicts with RESULT attribute" }END FUNCTION Kinteger function foo ()character*4 bar ! { dg-error "type CHARACTER" }foo = 21returnentry bar ()bar = "abcd"end functionEND MODULE TT! { dg-final { cleanup-modules "tt" } }
