3 ! Array sections with vector subscripts are not allowed
4 ! with dummy arguments which have VOLATILE or INTENT OUT/INOUT
6 ! Contributed by terry@chem.gu.se
12 integer,dimension(:),volatile::v
17 integer,dimension(:),intent(out
)::v
26 integer,dimension(10)::w
29 call aa(w((/3,2,1/))) ! { dg-error "vector subscript" }
31 call bb(w((/3,2,1/))) ! { dg-error "vector subscript" }