blob: d66618d8e353347aa7df8dc3a3751a7c9f6a223c [file] [edit]
! RUN: %python %S/test_errors.py %s %flang_fc1 -fimplicit-module-prefix -Wimplicit-module-prefix -Werror
! The extension warning may be requested without enabling all pedantic warnings.
module alpha
interface
module subroutine implementation
end subroutine implementation
end interface
end module alpha
submodule(alpha) beta
end submodule beta
submodule(alpha:beta) gamma
contains
!PORTABILITY: Assuming a missing MODULE prefix on 'implementation' to repair the separate module procedure interface 'alpha:implementation' [-Wimplicit-module-prefix]
subroutine implementation
end subroutine implementation
end submodule gamma