summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr93484_1.f90
blob: 3b6dbc9ad79eb3880fb5dc797ad2da23a1b3ac88 (plain)
1
2
3
4
5
6
7
8
! { dg-do compile }
!
program p
  implicit none
  integer :: x(4) = [1,2,3,4]
  print *, [real(x(k))] ! { dg-error "Symbol 'k' at .1. has no IMPLICIT type" } 
end