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
[WebAssembly] Fix asan issue from https://reviews.llvm.org/D121349
[llvm-project.git]
/
flang
/
test
/
Semantics
/
omp-reduction01.f90
blob
85e866922e1cdd311fa35e567dfd21fd9a0f74ca
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
integer
::
i
6
integer
::
k
=
10
7
8
!ERROR: Invalid reduction operator in REDUCTION clause.
9
!$omp parallel do reduction(**:k)
10
do
i
=
1
,
10
11
k
=
k
**
1
12
end do
13
!$omp end parallel do
14
end program
omp_reduction