2 ! { dg-options "-fdec-structure" }
4 ! Test UNIONs with array components.
8 character(*), intent(in
) :: s
28 r5
.a(1) = int(z
'41',1)
29 r5
.a(2) = int(z
'42',1)
30 r5
.a(3) = int(z
'43',1)
31 r5
.a(4) =int( z
'44',1)
32 r5
.a(5) = int(z
'45',1)
33 if ( r5
.s(1) .ne
. 'A' &
34 .or
. r5
.s(2) .ne
. 'B' &
35 .or
. r5
.s(3) .ne
. 'C' &
36 .or
. r5
.s(4) .ne
. 'D' &
37 .or
. r5
.s(5) .ne
. 'E') then
38 call aborts ("arrays")