URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [optional_assumed_charlen_1.f90] - Rev 816
Compare with Previous | Blame | View Log
! { dg-do compile }! Tests the fix for PR29284 in which an ICE would occur in converting! the call to a suboutine with an assumed character length, optional! dummy that is not present.!! Contributed by Rakuen Himawari <rakuen_himawari@yahoo.co.jp>!MODULE fooCONTAINSSUBROUTINE sub1(a)CHARACTER (LEN=*), OPTIONAL :: aWRITE(*,*) 'foo bar'END SUBROUTINE sub1SUBROUTINE sub2CALL sub1()END SUBROUTINE sub2END MODULE foo! { dg-final { cleanup-modules "foo" } }
