URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [string_1.f90] - Rev 329
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
!
program main
implicit none
integer(kind=8), parameter :: l1 = 2_8**32_8
character (len=2_8**32_8+4_8), parameter :: s = "" ! { dg-error "too large" }
character (len=2_8**32_8+4_8) :: ch ! { dg-error "too large" }
character (len=l1 + 1_8) :: v ! { dg-error "too large" }
character (len=int(huge(0_4),kind=8) + 1_8) :: z ! { dg-error "too large" }
character (len=int(huge(0_4),kind=8) + 0_8) :: w
print *, len(s)
end program main
Go to most recent revision | Compare with Previous | Blame | View Log