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/] [pr15324.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do run }! PR 15234! tests for passing arrays of assumed length charactersprogram strarray_6character(5), dimension(:), allocatable :: cn = 3allocate(c(-1:n-2))c = "BLUBB"call foo(c)call bar(c,n)deallocate(c)containssubroutine foo(x)character (len = *), dimension(:) :: xif (any (x .ne. "BLUBB")) CALL abort()end subroutine fooendsubroutine bar(x,n)character (len = *), dimension(n) :: xif (any (x .ne. "BLUBB")) CALL abort()end subroutine bar
