(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
goacc/
pr109622-6.f90
! { dg-do compile }

implicit none
integer :: x
!$acc enter data attach(x)
! { dg-error "'attach' clause argument must be ALLOCATABLE or a POINTER" "" { target *-*-* } .-1 }

end