blob: 0f9023794d77c67b7b7afa65523863339b774430 [file] [log] [blame]
! { 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