URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [whole_file_29.f90] - Rev 694
Compare with Previous | Blame | View Log
! { dg-do compile }! Test the fix for the problem described in PR45077 comments #4 and #5.! Note that the module file from whole_file_28.f90, 'iso_red', is! needed for this test.!! Contributed by Tobias Burnus <burnus@gcc.gnu.org>!module ifilesuse iso_red, string_t => varying_stringcontainsfunction line_get_string_advance (line) result (string)type(string_t) :: stringcharacter :: lineend function line_get_string_advanceend module ifilesmodule syntax_rulesuse iso_red, string_t => varying_stringuse ifiles, only: line_get_string_advancecontainssubroutine syntax_init_from_ifile ()type(string_t) :: stringstring = line_get_string_advance ("")end subroutine syntax_init_from_ifileend module syntax_rulesend! { dg-final { cleanup-modules "syntax_rules ifiles iso_red" } }
