2 ! { dg-options "-fdec-structure" }
4 ! Basic STRUCTURE test.
8 character(*), intent(in
) :: s
14 structure /s1
/ ! type s1
19 end structure ! end type s1
21 record /s1
/ r1
! type (s1) r1
22 record /s1
/ r1_a(3) ! type (s1) r1_a(3)
25 r1
.i1
= 13579 ! r1%i1 = ...
32 if (r1
.i1
.ne
. 13579) then
36 if (r1
.l1
.neqv
. .true
.) then
40 if (r1
.r1
.ne
. 13.579) then
44 if (r1
.c1
.ne
. 'F') then
48 if (r1_a(2).i1
.ne
. 13579) then
49 call aborts("r1_a(2).i1")
52 if (r1_a(3).r1
.ne
. 135.79) then
53 call aborts("r1_a(3).r1")