Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git] / gcc-4_9 / gcc / testsuite / gfortran.dg / where_3.f90
blob1507ad982ab33bd97d1d480a5efc210b2602f981
1 ! { dg-do compile }
3 ! PR fortran/50129
4 ! ICE after reporting an error on a masked ELSEWHERE statement following an
5 ! unmasked one.
7 ! Contributed by Joost Van de Vondele <Joost.VandeVondele@pci.uzh.ch>
9 INTEGER :: I(3)
10 WHERE (I>2)
11 ELSEWHERE
12 ELSEWHERE (I<1) ! { dg-error "follows previous unmasked ELSEWHERE" }
13 END WHERE
14 END