blob: b3441b806eff88c4f621f0172c3a607c5ed03d39 [file] [log] [blame]
! { dg-do compile }
! { dg-options "-std=f2003" }
!
! Test errors for usage of %loc as an rvalue with a real standard.
!
program main
implicit none
integer, volatile :: i, j, k
k = %loc(j) ! { dg-error "Legacy Extension:" }
end