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/] [whole_file_4.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }! { dg-options "-fwhole-file -std=legacy" }! Tests the fix for PR24886 in which the mismatch between the! character lengths of the actual and formal arguments of! 'foo' was not detected.!! Contributed by Uttam Pawar <uttamp@us.ibm.com>!subroutine foo(y)character(len=20) :: yy = 'hello world'endprogram testcharacter(len=10) :: xcall foo(x) ! { dg-warning "actual argument shorter" }write(*,*) 'X=',xpauseend
