Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gfortran.dg
/
dec_loc_rval_3.f03
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