view gcc/testsuite/gfortran.dg/inquire-complex.f90 @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
line wrap: on
line source

! { dg-do run }
! PR 23428:  Inquire(iolength) used to give the wrong result.
program main
  implicit none
  integer s4, s8
  
  complex(kind=8) c8
  complex(kind=4) c4
  
  inquire (iolength=s4) c4
  inquire (iolength=s8) c8
  if (s4 /= 8 .or. s8 /= 16) STOP 1

end program main