aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/coarray_23.f90
blob: 429928a4d86de975fd6e77ceae8170d524135407 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! { dg-do compile }
! { dg-options "-fcoarray=single" }
!
! PR fortran/18918
!
! The example was ICEing before as the tree-decl
! of the type was wrong.
!

  subroutine test
    complex, save :: z[*]
    if (z /= cmplx (0.0, 0.0)) call abort()
  end subroutine test