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
c++: prvalue of array type [PR111286]
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
declare-target-1.c
blob
79ad556a9c7320fb104300a5d1e9132ca85bfb04
1
/* { dg-do compile } */
2
/* { dg-options "-fopenmp" } */
3
4
int
foo
(
void
),
bar
(
void
);
5
extern
int
a
;
6
int
b
;
7
char
d
;
8
#pragma omp declare target
9
long
c
;
10
#pragma omp end declare target
11
12
#pragma omp declare target (bar, a)
13
#pragma omp declare target to (b) link (d) enter (foo)