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

Subversion Repositories openrisc

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

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

! { dg-do run }
! { dg-shouldfail "Real BOZ not allowed" }
! { dg-options "-fall-intrinsics -std=f2003" }
! Test for invalid (F95/F2003) writing of real with octal edit descriptor
! PR fortran/29625
program real_boz
  implicit none
  real(4)           :: r
  character(len=100) :: str

  r = 325.56
  write(str,'(o0)') r
end program real_boz
! { dg-output "At line 12 .*" }
! { dg-output "Expected INTEGER .* in formatted transfer, got REAL" }

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.