URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [char_result_9.f90] - Rev 816
Compare with Previous | Blame | View Log
! { dg-do compile }! PR 18883: Fake result variables of non-constant length, in modulemodule foocontainsfunction s_to_c(chars)character, pointer :: chars(:)character(len=len(chars)) :: s_to_cs_to_c = 'a'end function s_to_cend module fooprogram hujuse fooimplicit nonecharacter, pointer :: c(:)character(3) :: sallocate(c(5))c = (/"a", "b", "c" /)s = s_to_c(c)end program huj! { dg-final { cleanup-modules "foo" } }
