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
AMDGPU: Allow f16/bf16 for DS_READ_TR16_B64 gfx950 builtins (#118297)
[llvm-project.git]
/
flang
/
test
/
Semantics
/
resolve27.f90
blob
cda39ea4aee216e0db311ae40adda27b1affadc4
1
! RUN: %python %S/test_errors.py %s %flang_fc1
2
module
m
3
interface
4
module subroutine
s
()
5
end subroutine
6
end interface
7
end
8
9
submodule
(
m
)
s1
10
end
11
12
submodule
(
m
)
s2
13
end
14
15
submodule
(
m
:
s1
)
s3
16
integer
x
17
end
18
19
!ERROR: Module 'm' already has a submodule named 's3'
20
submodule
(
m
:
s2
)
s3
21
integer
y
22
end