PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / gfortran.dg / initialization_12.f90
blob1a4812a3729adb1df585cd71ba3e8090186a3c12
1 ! { dg-do compile }
2 ! PR fortran/32945 - ICE in init expressions
4 ! Contributed by Florian Ladstaedter <flad AT gmx DOT at>
7 MODULE EGOPS_Utilities
8 CONTAINS
9 FUNCTION dirname(fullfilename)
10 Character(LEN=*), Intent(In) :: fullfilename
11 Character(LEN=LEN(fullfilename)) :: dirname
12 dirname = ''
13 END FUNCTION
14 END MODULE EGOPS_Utilities
16 MODULE AtmoIono
17 CHARACTER(LEN=10), PARAMETER :: ComputeDryAtmModel = 'Dry Atm.  '
19 type AtmModel
20 character (len=len(ComputeDryAtmModel)) :: moistDryStr
21 end type AtmModel
22 END MODULE AtmoIono
24 module AtmoIonoSphere
25 use EGOPS_Utilities
26 use AtmoIono
27 end module AtmoIonoSphere