PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr84088.f90
blob692e93a8d57b7ee1a094c2c4138252510f00170d
1 ! { dg-do run }
3 ! Test of fix for case in comment #7 of PR84088.
5 ! Contributed by Tom de Vries <vries@gcc.gnu.org>
7 implicit none
8 integer(kind=4) z
10 call foo (z)
12 contains
13 subroutine foo (a)
14 type (*), dimension (..), contiguous :: a
15 integer(kind = 4) :: i
16 if(sizeof (a) .ne. sizeof (i)) STOP 1
17 end subroutine foo
19 end program