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

Subversion Repositories openrisc_me

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

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

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

powered by: WebSVN 2.1.0

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