blob: 73184250cbe9c6b97b29b3e464c8d9f2964fad41 [file] [log] [blame]
! { dg-do run }
! Test whether volatile statements and attributes are accepted
! PR fortran/29601
program volatile_test
implicit none
real :: l,m
real, volatile :: r = 3.
volatile :: l
l = 4.0
m = 3.0
end program volatile_test