35#pragma omp target nowait device (ancestor: 1)/* { dg-error "with 'ancestor', only the 'device', 'firstprivate', 'private', 'defaultmap', and 'map' clauses may appear on the construct" } */
37#pragma omp target device (ancestor: 1) nowait/* { dg-error "with 'ancestor', only the 'device', 'firstprivate', 'private', 'defaultmap', and 'map' clauses may appear on the construct" } */
54#pragma omp target enter data map (to: a) device (ancestor: 1)/* { dg-error "'device' clause with 'ancestor' is only allowed on 'target' construct" } */
55#pragma omp target exit data map (from: a) device (ancestor: 1)/* { dg-error "'device' clause with 'ancestor' is only allowed on 'target' construct" } */
56#pragma omp target update to (a) device (ancestor: 1)/* { dg-error "'device' clause with 'ancestor' is only allowed on 'target' construct" "" { target *-*-* } } */