URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [interface_1.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }! This program would segfault without the patch for PR fortran/24005.module y!! If private statement is removed, then we get a bunch of errors!private f!! If we rename 'f' in module y to say 'g', then gfortran correctly! identifies ambiguous as being ambiguous.!interface ambiguousmodule procedure fend interfacecontainsreal function f(a)real af = aend functionend module ymodule zuse yinterface ambiguousmodule procedure f ! { dg-warning "in generic interface" "" }end interfacecontainsreal function f(a)real af = aend functionend module z! { dg-final { cleanup-modules "y z" } }
