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_3.f90] - Blame information for rev 823

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

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! { dg-options "-O2" }
3
! Tests the fix PR29392, in which the iterator valued substring
4
! reference would cause a segfault.
5
!
6
! Contributed by Francois-Xavier Coudert  
7
!
8
  character(LEN=2) :: a(2)
9
  data ((a(I)(k:k),I=1,2),k=1,2) /2*'a',2*'z'/
10
  IF (ANY(a.NE."az")) CALL ABORT()
11
  END

powered by: WebSVN 2.1.0

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