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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
macro-2.c
blob
75d6490cd7c3d3889ef68f1dbc46a302e5eca975
1
// { dg-do compile }
2
3
#define p parallel
4
#define s(x) shared(x##1, x##2)
5
#define d(x) default(x)
6
7
void
bar
(
int
,
int
,
int
,
int
);
8
void
foo
(
void
)
9
{
10
int
a1
,
a2
,
b1
,
b2
;
11
12
#pragma omp p s(a) s(b) d(none)
13
bar
(
a1
,
a2
,
b1
,
b2
);
14
}