2 ! { dg-options "-std=f95" }
5 ! Check that IMPURE gets rejected without F2008.
7 ! Contributed by Daniel Kraft, d@domob.eu.
9 IMPURE
SUBROUTINE foobar () ! { dg-error "Fortran 2008" }
11 IMPURE ELEMENTAL
FUNCTION xyz () ! { dg-error "Fortran 2008" }