1! { dg-do compile } 2! Tests the fix for PR28923 in which initializer array constructors with 3! a missing initial array index and negative stride would be incorrectly 4! interpreted. 5! 6! Contributed by Dominique d'Humieres <dominiq@lps.ens.fr> 7! 8real, dimension(3,3), parameter :: a=reshape ((/(i, i = 1,9)/),(/3,3/)) 9real, dimension(2,3) :: b=a(:2:-1,:) ! { dg-error "Different shape for array assignment" } 10real, dimension(2,3) :: c=a(3:2:-1,:) 11print *, b 12print *, c 13end 14 15