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
Break circular dependency between FIR dialect and utilities
[llvm-project.git]
/
flang
/
test
/
Semantics
/
critical01.f90
blob
5981a65d9c3860c876362970f2bfa6b9aaeb1623
1
! RUN: %python %S/test_errors.py %s %flang_fc1
2
!C1117
3
4
subroutine
test1
(
a
,
i
)
5
integer
i
6
real
a
(
10
)
7
one
:
critical
8
if
(
a
(
i
) <
0.0
)
then
9
a
(
i
) =
20.20
10
end if
11
!ERROR: CRITICAL construct name mismatch
12
end
critical two
13
end subroutine
test1
14
15
subroutine
test2
(
a
,
i
)
16
integer
i
17
real
a
(
10
)
18
critical
19
if
(
a
(
i
) <
0.0
)
then
20
a
(
i
) =
20.20
21
end if
22
!ERROR: CRITICAL construct name unexpected
23
end
critical two
24
end subroutine
test2