Sign in
gnu
/
gcc
/
929abc7fe3ad4491ac412ca232e055618559f268
/
.
/
gcc
/
testsuite
/
gfortran.dg
/
goacc
/
declare-1.f95
blob: 1ff8e6ab4dfc296c1987090e673da72f820c1d08 [
file
] [
log
] [
blame
]
!
{
dg
-
do
compile
}
program test
implicit
none
integer
::
i
!
$acc declare copy
(
i
)
contains
real
function
foo
(
n
)
integer
,
value
::
n
BLOCK
integer i
!
$acc declare copy
(
i
)
!
{
dg
-
error
"is not allowed"
}
END
BLOCK
end
function
foo
end
program test