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
/
parallel-shared05.f90
blob
bcc1a9437c11e8c7b57ef1ec1ee2d2e4f97d9ce2
1
!RUN: %python %S/../test_errors.py %s %flang -fopenmp
2
! OpenMP Version 4.5
3
! 2.15.3.2 parallel shared Clause
4
program
omp_parallel_shared
5
type
derived
6
integer
::
field
(
2
,
3
)
7
end type
8
integer
::
field
(
2
)
9
type
(
derived
) ::
y
10
11
! Check that derived type fields and variables with the same name
12
! don't cause errors.
13
!$omp parallel
14
y
%
field
(
2
,
3
) =
1
15
field
(
1
) =
1
16
!$omp end parallel
17
end program
omp_parallel_shared