1! { dg-do compile }
2
3! Ensure that a 'requires' directive with the 'reverse_offload' clause was
4! specified.
5
6!$omp target device (ancestor:1)  ! { dg-error "'ancestor' device modifier not preceded by 'requires' directive with 'reverse_offload' clause" }
7! !$omp end target
8
9end