Debian Codegraph @

gcc/testsuite/gfortran.dg/goacc/host_data-error.f90

raw
1 ! { dg-do compile }
2
3 subroutine foo ()
4 !$acc host_data ! { dg-error "'host_data' construct at .1. requires 'use_device' clause" }
5 !$acc end host_data
6 end