OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [inquire-complex.f90] - Rev 801

Go to most recent revision | Compare with Previous | Blame | View Log

! { 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) call abort

end program main

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.