1! { dg-do compile }
2! PR43747 ICE in find_array_section, at fortran/expr.c:1551
3! Test case by Dominique d'Humieres
4INTEGER, PARAMETER ::N=65536
5INTEGER, PARAMETER ::I(N)=(/(MOD(K,2),K=1,N)/)!{ dg-error "number of elements" }
6INTEGER, PARAMETER ::M(N)=I(N:1:-1) ! { dg-error "Syntax error in argument" }
7print *, I(1), M(1), I(N), M(N)
8END
9
10