| 1 |
! { dg-do compile } |
| 2 |
! PR fortran/93461 |
| 3 |
module aModuleWithAnAllowedName |
| 4 |
interface |
| 5 |
module subroutine aShortName() |
| 6 |
end subroutine aShortName |
| 7 |
end interface |
| 8 |
end module aModuleWithAnAllowedName |
| 9 |
|
| 10 |
submodule (aModuleWithAnAllowedName) aSubmoduleWithAVeryVeryVeryLongButEntirelyLegalName |
| 11 |
contains |
| 12 |
subroutine aShortName() |
| 13 |
call aSubroutineWithAVeryLongNameThatWillCauseAProblem() |
| 14 |
call aSubroutineWithAVeryLongNameThatWillCauseAProblemAlso() |
| 15 |
end subroutine aShortName |
| 16 |
|
| 17 |
subroutine aSubroutineWithAVeryLongNameThatWillCauseAProblem() |
| 18 |
end subroutine aSubroutineWithAVeryLongNameThatWillCauseAProblem |
| 19 |
|
| 20 |
subroutine aSubroutineWithAVeryLongNameThatWillCauseAProblemAlso() |
| 21 |
end subroutine aSubroutineWithAVeryLongNameThatWillCauseAProblemAlso |
| 22 |
end submodule aSubmoduleWithAVeryVeryVeryLongButEntirelyLegalName |