repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Handle symbol visibility/locality for PIE/PIC
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
goacc
/
if-clause-1.c
blob
85abf1659e93816bcfd6bd47ccb42ea4e621e827
1
/* { dg-skip-if "not yet" { c++ } } */
2
3
void
4
f
(
void
)
5
{
6
struct
{
int
i
; } *
p
;
7
#pragma acc data copyout(p) if(1) if(1)
/* { dg-error "too many 'if' clauses" } */
8
;
9
#pragma acc update device(p) if(*p)
/* { dg-error "used struct type value where scalar is required" } */
10
}