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/] [data_char_2.f90] - Rev 312
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }
! { dg-options "-std=legacy" }
!
! Test that getting a character from a
! string data works.
CHARACTER*10 INTSTR
CHARACTER C1
DATA INTSTR / '0123456789' /
C1 = INTSTR(1:1)
if(C1 .ne. '0') call abort()
end
Go to most recent revision | Compare with Previous | Blame | View Log