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
ada: Fix interaction of aspect Predicate and static case expressions
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
macro-3.C
blob
32623fde58ec6c8c3a71a8530b0585fd02bad1db
1
// PR preprocessor/27746
2
// { dg-do compile }
3
// { dg-options "-fopenmp -fdump-tree-omplower" }
4
5
#define omp FOO
6
#define p parallel
7
#define omp_parallel _Pragma ("omp parallel")
8
#define omp_p _Pragma ("omp p")
9
10
void bar (void);
11
12
void
13
foo (void)
14
{
15
#pragma omp parallel
16
bar ();
17
#pragma omp p
18
bar ();
19
omp_parallel
20
bar ();
21
omp_p
22
bar ();
23
}
24
25
// { dg-final { scan-tree-dump-times "#pragma omp parallel" 4 "omplower" } }