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/] [auto_char_len_1.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }! { dg-options "" }! [option to disable -pedantic as assumed character length! functions are obsolescent]!! PR fortran/41235!character(len=*) function func()func = 'ABC'end function funcsubroutine test(i)integer :: icharacter(len=i), external :: funcprint *, func()end subroutine testsubroutine test2(i)integer :: icharacter(len=i) :: funcprint *, func()end subroutine test2call test(2)call test2(2)end
