blob: b3c1ce89430606bfd8d3db74e43280cf82d86e95 [file] [log] [blame]
/* { dg-do compile } */
void
foo (void)
{
/* Ensure that a 'requires' directive with the 'reverse_offload' clause was
specified. */
#pragma omp target device (ancestor : 1) /* { dg-error "'ancestor' device modifier not preceded by 'requires' directive with 'reverse_offload' clause" } */
/* { dg-error "expected '\\)' before 'ancestor'" "" { target c } .-1 } */
;
}