23 lines · plain
1! RUN: %python %S/test_errors.py %s %flang_fc12module m3 interface4 module subroutine s()5 end subroutine6 end interface7end8 9submodule(m) s110end11 12submodule(m) s213end14 15submodule(m:s1) s316 integer x17end18 19!ERROR: Module 'm' already has a submodule named 's3'20submodule(m:s2) s321 integer y22end23