1! { dg-do compile } 2 3program foo 4 !$acc update ! { dg-error "must contain at least one 'device' or 'host' or 'self' clause" } 5end program foo 6