hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / select_char_3.f90
blobf0a7c8741751951f321ad33b091efb84ccf61ca3
1 ! PR fortran/40206
2 ! { dg-do compile }
3 ! { dg-options "-O2 -Wuninitialized" }
5 function char2type (char)
6 character, intent(in) :: char
7 integer :: char2type
9 select case (char)
10 case ('E','e')
11 char2type=1
12 case default
13 char2type=-1234
14 end select
15 end function