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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [read_logical.f90] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! PR 26554 : Test logical read from string. Test case derived from PR.
3
! Submitted by Jerry DeLisle .
4
program bug
5
  implicit none
6
  character*30 :: strg
7
  logical l
8
  l = .true.
9
  strg = "false"
10
  read (strg,*) l
11
  if (l) call abort()
12
  strg = "true"
13
  read (strg,*) l
14
  if (.not.l) call abort()
15
  end
16
 

powered by: WebSVN 2.1.0

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