OpenCores
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/] [equiv_2.f90] - Rev 399

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

! { dg-do compile }
! { dg-options "-std=legacy" }
!
      subroutine broken_equiv1
      character*4 h
      character*3 i
      equivalence (h(1:3), i(2:1))    ! { dg-error "has length zero" }
      end subroutine

      subroutine broken_equiv2
      character*4 j
      character*2 k
      equivalence (j(2:3), k(1:5))    ! { dg-error "exceeds the string length" }
      end subroutine

      subroutine broken_equiv3
      character*4 l
      character*2 m
      equivalence (l(2:3:4), m(1:2))    ! { dg-error "\[Ss\]yntax error" }
      end subroutine

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

powered by: WebSVN 2.1.0

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