aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr77429.f90
blob: 0f9023794d77c67b7b7afa65523863339b774430 (plain)
1
2
3
4
5
6
7
! { dg-do compile }
program p
   shape(1) = 0      ! { dg-error "expression in variable definition context" }
   shape(1,2) = 0    ! { dg-error "expression in variable definition context" }
   shape(1,2,3) = 0  ! { dg-error "Too many arguments in call" }
   lbound([1]) = 0   ! { dg-error "expression in variable definition context" }
end