repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clangd] Re-land "support outgoing calls in call hierarchy" (#117673)
[llvm-project.git]
/
flang
/
test
/
Semantics
/
OpenMP
/
affinity-clause.f90
blob
53b2c4fc56677f01684889301607fc79b272985c
1
!RUN: %python %S/../test_errors.py %s %flang -fopenmp -fopenmp-version=45
2
3
subroutine
f00
(
x
)
4
integer
::
x
(
10
)
5
!ERROR: AFFINITY clause is not allowed on directive TASK in OpenMP v4.5, try -fopenmp-version=50
6
!$omp task affinity(x)
7
x
=
x
+
1
8
!$omp end task
9
end