AMDGPU: Allow f16/bf16 for DS_READ_TR16_B64 gfx950 builtins (#118297)
[llvm-project.git] / flang / test / Semantics / resolve27.f90
blobcda39ea4aee216e0db311ae40adda27b1affadc4
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
9 submodule(m) s1
10 end
12 submodule(m) s2
13 end
15 submodule(m:s1) s3
16 integer x
17 end
19 !ERROR: Module 'm' already has a submodule named 's3'
20 submodule(m:s2) s3
21 integer y
22 end