hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr17229.f
blobcce4388ddce9aa4c386e0b41177364a439f87821
1 ! PR fortran/17229
2 ! { dg-do run }
3 ! { dg-options "-std=legacy" }
5 integer i
6 logical l
8 l = .false.
9 i = -1
10 if (l) if (i) 999,999,999
12 l = .true.
13 if (l) if (i) 10,999,999
14 go to 999
16 10 i = 0
17 if (l) if (i) 999,20,999
18 go to 999
20 20 i = 1
21 if (l) if (i) 999,999,30
22 go to 999
24 999 STOP 1
25 30 end