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
/
reduction10.f90
blob
0f94594408b8848a37270047136022eb4a21226b
1
! RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp
2
! OpenMP Version 4.5
3
! 2.15.3.6 Reduction Clause
4
program
omp_reduction
5
6
integer
::
i
7
integer
::
k
=
10
8
9
!ERROR: Invalid reduction identifier in REDUCTION clause.
10
!$omp parallel do reduction(foo:k)
11
do
i
=
1
,
10
12
k
=
foo
(
k
)
13
end do
14
!$omp end parallel do
15
end program
omp_reduction