aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr105633.f90
blob: f2dbc5e742ab0f03900ca1670f93efa5abb54f73 (plain)
1
2
3
4
5
6
7
8
! { dg-do compile }
! PR fortran/105633 - ICE in find_array_section
! Contributed by G.Steinmetz

program p
  integer, parameter :: a(:) = [1,2] ! { dg-error "deferred shape" }
  print *, [a([1,2])]
end