Debian Codegraph @

gcc/testsuite/gfortran.dg/pr77429.f90

raw
1 ! { dg-do compile }
2 program p
3 shape(1) = 0 ! { dg-error "expression in variable definition context" }
4 shape(1,2) = 0 ! { dg-error "expression in variable definition context" }
5 shape(1,2,3) = 0 ! { dg-error "Too many arguments in call" }
6 lbound([1]) = 0 ! { dg-error "expression in variable definition context" }
7 end