Skip gnat.dg/prot7.adb on hppa.
[official-gcc.git] / libgomp / testsuite / libgomp.c-c++-common / struct-elem-5.c
blob31a2fa5e8cfe00ba51bb447c0325253f86680352
1 /* { dg-do run { target offload_device_nonshared_as } } */
3 struct S
5 int a, b, c;
6 };
7 typedef struct S S;
9 int main (void)
11 S s;
12 #pragma omp target data map (alloc: s.a, s.c)
14 #pragma omp target enter data map (alloc: s.b)
17 return 0;
19 /* { dg-output "Trying to map into device \\\[\[0-9a-fA-FxX\]+..\[0-9a-fA-FxX\]+\\\) structure element when other mapped elements from the same structure weren't mapped together with it" } */
20 /* { dg-shouldfail "" } */