hppa: Fix typos in 32-bit SFmode peephole2 patterns
[official-gcc.git] / gcc / testsuite / c-c++-common / goacc / if-clause-1.c
blobd78520bdd1b60383b1c709fd5de95fb6d6062c63
1 /* See also 'self-clause-1.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)
10 /* { dg-error {used struct type value where scalar is required} {} { target c } .-1 }
11 { dg-error {could not convert '\* p' from 'f\(\)::<unnamed struct>' to 'bool'} {} { target c++ } .-2 } */