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
/
name-conflict.f90
blob
5babc3c6d388667d639dda2e1ffd6cd89245f32f
1
!RUN: %python %S/../test_errors.py %s %flang_fc1 -fopenmp
2
module
m
3
4
contains
5
6
subroutine
foo1
()
7
integer
::
baz1
8
!ERROR: 'baz1' must be a variable
9
!$omp parallel do shared(baz1)
10
baz1
:
do
i
=
1
,
100
11
enddo
baz1
12
!$omp end parallel do
13
end subroutine
14
15
subroutine
foo2
()
16
!implicit baz2
17
!ERROR: 'baz2' must be a variable
18
!$omp parallel do shared(baz2)
19
baz2
:
do
i
=
1
,
100
20
enddo
baz2
21
!$omp end parallel do
22
end subroutine
23
24
end module
m