aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/associate_59.f90
blob: 2da97731d395f95b0f7124fc5887d5fc8ad861c9 (plain)
1
2
3
4
5
6
7
8
9
! { dg-do compile }
! PR fortran/103590 - ICE: find_array_spec(): Missing spec 
! Contributed by G.Steinmetz

program p
  associate (a => 1)
    print *, [character(a(1)) :: '1'] ! { dg-error "Scalar INTEGER expression" }
  end associate
end