OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [data_char_2.f90] - Blame information for rev 853

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
!  Test that getting a character from a
3
! string data works.
4
 
5
CHARACTER*10       INTSTR
6
CHARACTER          C1
7
DATA               INTSTR / '0123456789' /
8
 
9
C1 = INTSTR(1:1)
10
if(C1 .ne. '0')  call abort()
11
 
12
end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.