hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / do_check_18.f90
blobb06112aa68f5edcd839f0f35ad98da213c122022
1 ! { dg-do compile }
2 ! PR103718,
3 ! PR103719 - ICE in doloop_contained_procedure_code
4 ! Contributed by G.Steinmetz
6 subroutine s1
7 integer :: i
8 do i = 1, 2
9 call s
10 end do
11 contains
12 subroutine s
13 integer :: n
14 inquire (iolength=n) 0 ! valid
15 end
16 end
18 subroutine s2
19 integer :: i
20 do i = 1, 2
21 call s
22 end do
23 contains
24 subroutine s
25 shape(1) = 0 ! { dg-error "Non-variable expression" }
26 end
27 end