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
Remove check for Android in Mips.cpp (#123793)
[llvm-project.git]
/
flang
/
test
/
Semantics
/
critical04.f90
blob
82db87411ed49ccc1a369d7c3eb86ed5ba5e1f1e
1
! RUN: %flang_fc1 -fdebug-unparse-with-symbols %s 2>&1 | FileCheck %s
2
! CHECK-NOT: Control flow escapes from CRITICAL
3
4
subroutine
test1
(
a
,
i
)
5
integer
i
6
real
a
(
10
)
7
critical
8
if
(
a
(
i
) <
0.0
)
then
9
a
(
i
) =
20.20
10
goto
20
11
end if
12
20
a
(
i
) = -
a
(
i
)
13
end
critical
14
end subroutine
test1
15
16
subroutine
test2
(
i
)
17
integer
i
18
critical
19
if
(
i
)
10
,
10
,
20
20
10
i
=
i
+
1
21
20
i
=
i
-
1
22
end
critical
23
end subroutine
test2
24
25
subroutine
test3
(
i
)
26
integer
i
27
critical
28
goto
(
10
,
10
,
20
)
i
29
10
i
=
i
+
1
30
20
i
=
i
-
1
31
end
critical
32
end subroutine
test3