Debian Codegraph @

gcc/testsuite/gfortran.dg/pr93473.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-ffree-line-length-none" }
3 ! PR fortran/93473
4 module aModestlyLongModuleName
5
6 type :: aTypeWithASignificantlyLongNameButStillAllowedOK
7 end type aTypeWithASignificantlyLongNameButStillAllowedOK
8
9 interface
10 module function aFunctionWithALongButStillAllowedName(parameters) result(self)
11 type(aTypeWithASignificantlyLongNameButStillAllowedOK) :: self
12 end function aFunctionWithALongButStillAllowedName
13 end interface
14
15 end module aModestlyLongModuleName
16
17 submodule (aModestlyLongModuleName) aTypeWithASignificantlyLongNameButStillAllowedOK_
18
19 contains
20
21 module procedure aFunctionWithALongButStillAllowedName
22 class(*), pointer :: genericObject
23 end procedure aFunctionWithALongButStillAllowedName
24
25 end submodule aTypeWithASignificantlyLongNameButStillAllowedOK_
26
27 submodule (aModestlyLongModuleName:aTypeWithASignificantlyLongNameButStillAllowedOK_) aSubmoduleWithASignificantlyLongButStillAllowedName__
28 end submodule aSubmoduleWithASignificantlyLongButStillAllowedName__