URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [entry_12.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do run }! Tests the fix for pr31609, where module procedure entries found! themselves in the wrong namespace. This test checks that all! combinations of generic and specific calls work correctly.!! Contributed by Paul Thomas <pault@gcc.gnu.org> as comment #8 to the pr.!MODULE ksbin1_aux_modinterface foomodule procedure jend interfaceinterface barmodule procedure kend interfaceinterface foobarmodule procedure j, kend interfaceCONTAINSFUNCTION j ()j = 1returnENTRY k (i)k = 2END FUNCTION jEND MODULE ksbin1_aux_moduse ksbin1_aux_modif (any ((/foo (), bar (99), foobar (), foobar (99), j (), k (99)/) .ne. &(/1, 2, 1, 2, 1, 2/))) Call abort ()end! { dg-final { cleanup-modules "ksbin1_aux_mod" } }
