2 ! { dg-options "-std=f95" }
3 ! Tests the standard check in the patch for PR29642, which requested the
4 ! implementation of the F2003 VALUE attribute for gfortran.
6 ! Contributed by Paul Thomas <pault@gcc.gnu.org>
12 if (i
/= 42) call abort ()
16 value
:: i
! { dg-error "Fortran 2003: VALUE" }
17 if (i
/= 42) call abort ()
19 if (i
/= 99) call abort ()
21 end program test_value