Handle symbol visibility/locality for PIE/PIC
[official-gcc.git] / gcc / testsuite / c-c++-common / goacc / if-clause-1.c
blob85abf1659e93816bcfd6bd47ccb42ea4e621e827
1 /* { dg-skip-if "not yet" { c++ } } */
3 void
4 f (void)
6 struct { int i; } *p;
7 #pragma acc data copyout(p) if(1) if(1) /* { dg-error "too many 'if' clauses" } */
9 #pragma acc update device(p) if(*p) /* { dg-error "used struct type value where scalar is required" } */