hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr43808.f90
bloba8919ab6a0ca58333ebf65dcfe51482f8abf49f4
1 ! PR target/43808
2 ! { dg-do run }
3 ! { dg-options "-O0 -fipa-reference -fschedule-insns -fstrict-aliasing" }
5 type :: a
6 integer, allocatable :: i(:)
7 end type a
8 type :: b
9 type (a), allocatable :: j(:)
10 end type b
11 type(a) :: x(2)
12 type(b) :: y(2)
13 x(1) = a((/1,2,3,4/))
14 x(2) = a((/1,2,3,4/)+10)
15 y(1) = b((/x(1),x(2)/))
16 y(2) = b((/x(1),x(2)/))
17 if (y(1)%j(1)%i(1) .ne. 1) STOP 1
18 end