URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
! { dg-do run }
|
! { dg-do run }
|
! PR 26554 : Test logical read from string. Test case derived from PR.
|
! PR 26554 : Test logical read from string. Test case derived from PR.
|
! Submitted by Jerry DeLisle .
|
! Submitted by Jerry DeLisle .
|
program bug
|
program bug
|
implicit none
|
implicit none
|
character*30 :: strg
|
character*30 :: strg
|
logical l
|
logical l
|
l = .true.
|
l = .true.
|
strg = "false"
|
strg = "false"
|
read (strg,*) l
|
read (strg,*) l
|
if (l) call abort()
|
if (l) call abort()
|
strg = "true"
|
strg = "true"
|
read (strg,*) l
|
read (strg,*) l
|
if (.not.l) call abort()
|
if (.not.l) call abort()
|
end
|
end
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.