Sign in
gnu
/
gcc
/
501b3b9ef5be64294f6e51e1e2323b8c9a60adef
/
.
/
gcc
/
testsuite
/
gfortran.dg
/
goacc
/
uninit-use-device-clause.f95
blob: 48d08a5a55da798d39472ae9377e41b8b534dccb [
file
] [
log
] [
blame
]
!
{
dg
-
do
compile
}
!
{
dg
-
additional
-
options
"-Wuninitialized"
}
subroutine test
integer
,
pointer
::
p
!
$acc host_data use_device
(
p
)
!
{
dg
-
warning
"is used uninitialized in this function"
}
!
$acc
end
host_data
end
subroutine test